1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

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
parent 8068b8e09e
commit b4bd4f4b29

View file

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