summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-30 20:08:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-10-30 20:08:17 +0100
commit147a4093eff62539410ec3e56a0e01736e438db3 (patch)
tree125c303bb4fa245070e20ae1c1e6c4b3eeb5542a /editor/editor.hpp
parentd13df62150694e634fa9078941dc9183b6aff52b (diff)
crap out some noexcept
Diffstat (limited to 'editor/editor.hpp')
-rw-r--r--editor/editor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor.hpp b/editor/editor.hpp
index 39511ca5..201f6468 100644
--- a/editor/editor.hpp
+++ b/editor/editor.hpp
@@ -74,8 +74,8 @@ struct editor final
[[nodiscard]] editor_mode mode() const noexcept { return _mode; }
void set_mode(editor_mode mode);
- tile_editor* current();
- const tile_editor* current() const;
+ tile_editor* current() noexcept;
+ const tile_editor* current() const noexcept;
void on_click(world& world, global_coords pos);
void on_mouse_move(world& world, global_coords pos);