diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-29 04:04:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-29 04:04:20 +0200 |
commit | 32021bc251bf110338f28271e87964578cf07e1e (patch) | |
tree | b84b84fa2fd38f05c534cff0b0f6c32cf0e17719 /editor/events.cpp | |
parent | 4a9f01fa0e3f1a16c28a43d06ddc18b8d6af5d5d (diff) |
fix build
Diffstat (limited to 'editor/events.cpp')
-rw-r--r-- | editor/events.cpp | 5 |
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; |