Oops.  I forgot my virtual destructor.

>From 5cc0407d62fd9cf02960cc5996b30578862e8e4c Mon Sep 17 00:00:00 2001
From: Kevin Dalley <[EMAIL PROTECTED]>
Date: Wed, 7 Mar 2007 00:04:37 -0800
Subject: [PATCH] Added virtual destructor for Layout_pos

---
 lily/note-heads-engraver.cc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lily/note-heads-engraver.cc b/lily/note-heads-engraver.cc
index 4e9b0fe..52b7c5a 100644
--- a/lily/note-heads-engraver.cc
+++ b/lily/note-heads-engraver.cc
@@ -26,6 +26,9 @@ class Layout_pos
 {
 public:
   virtual int pos(Pitch* pit) = 0;
+  virtual ~Layout_pos()
+  {
+  }
 };
 
 class Layout_pos_traditional : public Layout_pos
-- 
1.4.4.4



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to