diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 18:42:04 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 18:42:04 +0100 |
commit | 9032dda232e5d7e178b1d9e40ab37dd25973459c (patch) | |
tree | ae02998c5b52ae29ccca34d1cc2a1b1990784399 /src/test/ScriptEventTest.cpp | |
parent | 0ba89eff9283d5f9f59fa763a19f4616f1c66d74 (diff) |
fix EventManager memory leak
Diffstat (limited to 'src/test/ScriptEventTest.cpp')
-rw-r--r-- | src/test/ScriptEventTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ScriptEventTest.cpp b/src/test/ScriptEventTest.cpp index 479e3f5..8b4a72d 100644 --- a/src/test/ScriptEventTest.cpp +++ b/src/test/ScriptEventTest.cpp @@ -23,7 +23,7 @@ class ScriptEventTest : public ScriptTest { public: EventManager & event_manager = mediator.event_manager; - class MyEvent : public Event {}; + struct MyEvent : public Event {}; }; TEST_F(ScriptEventTest, Default) { |