summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-20 21:55:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-20 21:55:44 +0200
commit7959cab790a0c3d0c72847e160267ad0deffcbfd (patch)
tree7e780cc888ecfd9f969e4775ac9615a4667b1510 /editor
parent22ce801e3501a2c38ae33b004614d7401dc87460 (diff)
fix build
Diffstat (limited to 'editor')
-rw-r--r--editor/app.cpp2
-rw-r--r--editor/app.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index 7c42e98c..8f3694ab 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -17,7 +17,7 @@
namespace floormat {
-struct Optional<point> cursor_state::point() const
+struct Optional<struct point> cursor_state::point() const
{
if (tile)
return {InPlaceInit, *tile, *subpixel};
diff --git a/editor/app.hpp b/editor/app.hpp
index 0a94fce8..e49d3a86 100644
--- a/editor/app.hpp
+++ b/editor/app.hpp
@@ -34,7 +34,7 @@ struct cursor_state final {
Optional<Vector2b> subpixel;
bool in_imgui = false;
- struct Optional<point> point() const;
+ struct Optional<struct point> point() const;
};
struct clickable;