From a65aaeb43df61a9127aed0c4eb8dd4cb0b3b0bd6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 4 Feb 2024 15:18:32 +0100 Subject: b --- src/dijkstra.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dijkstra.cpp') 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& 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]; -- cgit v1.2.3