summaryrefslogtreecommitdiff
path: root/libs/evoral
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-02 19:31:19 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-02 19:31:19 +0000
commitebc0b882485b0160fc9ecab7430513d0e99c3bda (patch)
treeb2c3f85fd0bd91042476f23794f4f5a73af678b1 /libs/evoral
parent1420d08da4fc45c5ce348b29b5403c4e4539524b (diff)
make Evoral::Event be polymorphic by adding virtual to its destructor (why was this not done already?)
git-svn-id: svn://localhost/ardour2/branches/3.0@10861 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral')
-rw-r--r--libs/evoral/evoral/Event.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/evoral/Event.hpp b/libs/evoral/evoral/Event.hpp
index d812922afc..f9f5eb6a40 100644
--- a/libs/evoral/evoral/Event.hpp
+++ b/libs/evoral/evoral/Event.hpp
@@ -56,7 +56,7 @@ struct Event {
*/
Event(const Event& copy, bool alloc);
- ~Event();
+ virtual ~Event();
const Event& operator=(const Event& copy);