From ebc0b882485b0160fc9ecab7430513d0e99c3bda Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 2 Dec 2011 19:31:19 +0000 Subject: [PATCH] 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 --- libs/evoral/evoral/Event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);