diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 15:18:32 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 15:18:32 +0100 |
| commit | a65aaeb43df61a9127aed0c4eb8dd4cb0b3b0bd6 (patch) | |
| tree | 020f69f766545fa6fc960b3fdfcb4a7cda20313d /src/dijkstra.cpp | |
| parent | 7fa7b3bc844d61ecc986f77819a11d1e4a526c57 (diff) | |
b
Diffstat (limited to 'src/dijkstra.cpp')
| -rw-r--r-- | src/dijkstra.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dijkstra.cpp b/src/dijkstra.cpp index 9081d5a7..c9433132 100644 --- a/src/dijkstra.cpp +++ b/src/dijkstra.cpp @@ -1,6 +1,7 @@ #include "path-search.hpp" #include "compat/format.hpp" #include "compat/debug.hpp" +#include "compat/vector-wrapper.hpp" #include "compat/heap.hpp" #include "object.hpp" #include "point.hpp" @@ -106,7 +107,7 @@ void set_result_from_idx(path_search_result& result, const Array<visited>& nodes { fm_debug_assert(idx != (uint32_t)-1); - auto& path = result.path(); + auto& path = result.raw_path().vec; path.clear(); const auto& to_node = nodes[idx]; |
