summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-13 06:16:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-13 06:16:07 +0100
commitd87c0cb28720610ca7483f2d8de0613f583dc354 (patch)
treecdbb9549eadf984d68769944dcca219349bef842 /editor
parent379f5bbe121b224733dc9f8fea2aa0b012536ea2 (diff)
a
Diffstat (limited to 'editor')
-rw-r--r--editor/camera.cpp1
-rw-r--r--editor/editor.hpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/editor/camera.cpp b/editor/camera.cpp
index b74b048a..9e673ae9 100644
--- a/editor/camera.cpp
+++ b/editor/camera.cpp
@@ -6,6 +6,7 @@
#include "src/object.hpp"
#include "src/world.hpp"
#include "src/camera-offset.hpp"
+#include <bit>
#include <algorithm>
namespace floormat {
diff --git a/editor/editor.hpp b/editor/editor.hpp
index 69a5277f..b4e4ff8e 100644
--- a/editor/editor.hpp
+++ b/editor/editor.hpp
@@ -68,7 +68,7 @@ public:
Optional<global_coords> mouse_drag_pos();
using snap_mode = editor_snap_mode;
- using button = enum editor_button;
+ using button = editor_button;
};
} // namespace floormat