summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-16 07:59:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-16 07:59:59 +0100
commit07716595e0c26ba6d19ee6c498280508ca5aa6c2 (patch)
treeda22b4d88e63419a366c48037cbef14f8f43a2b4 /main/main-impl.cpp
parentae53b814c310d1996db0b818151ef7b205d03b7b (diff)
a
Diffstat (limited to 'main/main-impl.cpp')
-rw-r--r--main/main-impl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/main-impl.cpp b/main/main-impl.cpp
index cb74de85..6875f751 100644
--- a/main/main-impl.cpp
+++ b/main/main-impl.cpp
@@ -1,4 +1,5 @@
#include "main-impl.hpp"
+#include "src/path-search.hpp"
#include <Corrade/Utility/Move.h>
#include <Magnum/Platform/Sdl2Application.h>
@@ -63,7 +64,7 @@ uint32_t main_impl::cursor() const noexcept
}
struct texture_unit_cache& main_impl::texture_unit_cache() { return _tuc; }
-path_search& main_impl::search() { return _search; }
+path_search& main_impl::search() { return *_search; }
astar& main_impl::astar() { return _astar; }
} // namespace floormat