diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 04:05:21 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 04:05:21 +0100 |
commit | 802c17175e595ddb3075465a1febc432262bcc3f (patch) | |
tree | 99d5ecabc8d2d62a09ab32976edfb9946ce81fcf /editor/events.cpp | |
parent | f44e9d51013dbd153df3abc0c7b0ff1485ab65f2 (diff) |
use Corrade's Optional<T> instead of stl
Diffstat (limited to 'editor/events.cpp')
-rw-r--r-- | editor/events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/events.cpp b/editor/events.cpp index 821c9c4d..fc55cca2 100644 --- a/editor/events.cpp +++ b/editor/events.cpp @@ -175,13 +175,13 @@ void app::on_viewport_event(const Math::Vector2<int>& size) noexcept void app::on_focus_out() noexcept { - update_cursor_tile(std::nullopt); + update_cursor_tile(NullOpt); clear_keys(); } void app::on_mouse_leave() noexcept { - update_cursor_tile(std::nullopt); + update_cursor_tile(NullOpt); } void app::do_key(floormat::key k) |