make Evoral::Event be polymorphic by adding virtual to its destructor (why was this...
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 2 Dec 2011 19:31:19 +0000 (19:31 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 2 Dec 2011 19:31:19 +0000 (19:31 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10861 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/evoral/evoral/Event.hpp

index d812922afce7ab6fc71be6c23844044b0156cadc..f9f5eb6a408d2147936ee59628a9a3ca0d059e76 100644 (file)
@@ -56,7 +56,7 @@ struct Event {
         */
        Event(const Event& copy, bool alloc);
 
-       ~Event();
+        virtual ~Event();
 
        const Event& operator=(const Event& copy);