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:
parent
8068b8e09e
commit
b4bd4f4b29
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
|
||||
Event() { }
|
||||
explicit Event(Type type) : m_type(type) { }
|
||||
~Event() { }
|
||||
virtual ~Event() { }
|
||||
|
||||
Type type() const { return m_type; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue