From a3d2775168f28cf294800b2a873ac20e3a87ddad Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 24 Mar 2024 11:20:43 +0100 Subject: w --- src/search-node.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/search-node.hpp') diff --git a/src/search-node.hpp b/src/search-node.hpp index c2977f84..c911e735 100644 --- a/src/search-node.hpp +++ b/src/search-node.hpp @@ -1,14 +1,21 @@ #pragma once #include "compat/defs.hpp" #include "search-result.hpp" +#include "point.hpp" #include #include namespace floormat { +struct path_search_result::pair +{ + point pt; + uint32_t length = 0; +}; + struct path_search_result::node { - friend struct path_search_result; + friend class path_search_result; friend struct test_app; node() noexcept; @@ -16,6 +23,7 @@ struct path_search_result::node fm_DECLARE_DEFAULT_MOVE_ASSIGNMENT_(node); std::vector vec; + std::vector vec_; private: Pointer _next; -- cgit v1.2.3