diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/events.cpp | 3 | ||||
-rw-r--r-- | editor/ground-editor.hpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/editor/events.cpp b/editor/events.cpp index 94a8f94f..59507ccf 100644 --- a/editor/events.cpp +++ b/editor/events.cpp @@ -174,7 +174,8 @@ void app::clear_non_repeated_keys() { clear_keys(key_NO_REPEAT, key_COUNT); } void app::on_key_up_down(const key_event& event, bool is_down) noexcept { using KeyEvent = Platform::Sdl2Application::KeyEvent; - struct Ev final { + struct Ev + { using Key = KeyEvent::Key; using Modifier = KeyEvent::Modifier; using Modifiers = KeyEvent::Modifiers; diff --git a/editor/ground-editor.hpp b/editor/ground-editor.hpp index 9ff9a198..5f2399ff 100644 --- a/editor/ground-editor.hpp +++ b/editor/ground-editor.hpp @@ -19,7 +19,8 @@ class ground_editor final sel_none, sel_tile, sel_perm, }; - struct tuple final { + struct tuple + { std::shared_ptr<ground_atlas> atlas; std::vector<decltype(tile_image_proto::variant)> variant; }; |