summaryrefslogtreecommitdiffhomepage
path: root/src/path-search.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-04 14:32:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-04 14:32:32 +0100
commit7fa7b3bc844d61ecc986f77819a11d1e4a526c57 (patch)
tree872ba871b481b5b5d397ffc20f2dca0c3812024e /src/path-search.hpp
parenta85eb5f8f15cf8712246c3d765708b636603ca14 (diff)
b
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