summaryrefslogtreecommitdiffhomepage
path: root/main/main-impl.cpp
diff options
context:
space:
mode:
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