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 1c9d9bec..4f667e96 100644
--- a/editor/editor.hpp
+++ b/editor/editor.hpp
@@ -8,9 +8,9 @@
#include "tile-editor.hpp"
#include "scenery-editor.hpp"
-#include <optional>
#include <map>
#include <memory>
+#include <Corrade/Containers/Optional.h>
#include <Corrade/Containers/StringView.h>
namespace floormat {
@@ -58,7 +58,7 @@ private:
snap_mode snap = snap_mode::none;
button btn;
};
- std::optional<drag_pos> _last_pos;
+ Optional<drag_pos> _last_pos;
editor_mode _mode = editor_mode::floor;
bool _dirty = false;
};