summaryrefslogtreecommitdiffhomepage
path: root/editor/events.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-29 04:04:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-29 04:04:20 +0200
commit32021bc251bf110338f28271e87964578cf07e1e (patch)
treeb84b84fa2fd38f05c534cff0b0f6c32cf0e17719 /editor/events.cpp
parent4a9f01fa0e3f1a16c28a43d06ddc18b8d6af5d5d (diff)
fix build
Diffstat (limited to 'editor/events.cpp')
-rw-r--r--editor/events.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/events.cpp b/editor/events.cpp
index 4afc212f..2ba2437b 100644
--- a/editor/events.cpp
+++ b/editor/events.cpp
@@ -13,7 +13,7 @@ namespace floormat {
void app::on_focus_in() noexcept {}
void app::on_mouse_enter() noexcept {}
-void app::on_any_event(const any_event& event) noexcept {}
+void app::on_any_event(const any_event&) noexcept {}
#define accessor(type, name) \
type m_##name = {}; auto name() const noexcept { return m_##name; }
@@ -86,8 +86,7 @@ void app::on_key_up_down(const key_event& event, bool is_down) noexcept
case SDLK_r: return key::rotate_tile;
case SDLK_F5: return key::quicksave;
case SDLK_F9: return key::quickload;
- case SDLK_ESCAPE: return key::quit;
- });
+ case SDLK_ESCAPE: return key::quit; });
if (x != key::COUNT)
{
keys[x] = is_down;