summaryrefslogtreecommitdiffhomepage
path: root/src/path-search.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r--src/path-search.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/path-search.hpp b/src/path-search.hpp
index 5617765f..36c25497 100644
--- a/src/path-search.hpp
+++ b/src/path-search.hpp
@@ -9,7 +9,6 @@
#include "point.hpp"
#include <bit>
#include <array>
-#include <vector>
#include <bitset>
#include <Corrade/Containers/Array.h>
#include <Magnum/Math/Vector2.h>
@@ -124,8 +123,8 @@ private:
uint32_t pop_from_heap();
struct detail_astar::cache cache;
- std::vector<visited> nodes;
- std::vector<uint32_t> Q;
+ Array<visited> nodes;
+ Array<uint32_t> Q;
};
} // namespace floormat