mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:37:35 +00:00
Make the Event class virtual.
I realized that we're leaking all the members in Event subclasses.
This commit is contained in:
parent
8068b8e09e
commit
b4bd4f4b29
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public:
|
||||||
|
|
||||||
Event() { }
|
Event() { }
|
||||||
explicit Event(Type type) : m_type(type) { }
|
explicit Event(Type type) : m_type(type) { }
|
||||||
~Event() { }
|
virtual ~Event() { }
|
||||||
|
|
||||||
Type type() const { return m_type; }
|
Type type() const { return m_type; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue