hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/application.cpp')
-rw-r--r--src/core/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/application.cpp b/src/core/application.cpp
index df0f38f..81051a5 100644
--- a/src/core/application.cpp
+++ b/src/core/application.cpp
@@ -240,7 +240,7 @@ namespace Donut
auto Application::on_event(Event& event) -> void
{
EventDispatcher dispatcher(event);
- dispatcher.dispatch<WindowCloseEvent>([this, &event](WindowCloseEvent& e)
+ dispatcher.dispatch<WindowCloseEvent>([this, &event](WindowCloseEvent&)
{
m_running = false;
event.handled = true;