diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-02 19:31:19 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-02 19:31:19 +0000 |
commit | ebc0b882485b0160fc9ecab7430513d0e99c3bda (patch) | |
tree | b2c3f85fd0bd91042476f23794f4f5a73af678b1 /libs | |
parent | 1420d08da4fc45c5ce348b29b5403c4e4539524b (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')
-rw-r--r-- | libs/evoral/evoral/Event.hpp | 2 |
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); |