Make the Event class virtual.

I realized that we're leaking all the members in Event subclasses.
This commit is contained in:
Andreas Kling 2019-01-12 07:24:38 +01:00
commit b4bd4f4b29
Notes: sideshowbarker 2024-07-19 16:04:16 +09:00

View file

@ -44,7 +44,7 @@ public:
Event() { }
explicit Event(Type type) : m_type(type) { }
~Event() { }
virtual ~Event() { }
Type type() const { return m_type; }