summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.hpp
diff options
context:
space:
mode:
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);