diff options
Diffstat (limited to 'src/search-node.hpp')
-rw-r--r-- | src/search-node.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/search-node.hpp b/src/search-node.hpp new file mode 100644 index 00000000..c2977f84 --- /dev/null +++ b/src/search-node.hpp @@ -0,0 +1,24 @@ +#pragma once +#include "compat/defs.hpp" +#include "search-result.hpp" +#include <vector> +#include <Corrade/Containers/Pointer.h> + +namespace floormat { + +struct path_search_result::node +{ + friend struct path_search_result; + friend struct test_app; + + node() noexcept; + fm_DECLARE_DELETED_COPY_ASSIGNMENT(node); + fm_DECLARE_DEFAULT_MOVE_ASSIGNMENT_(node); + + std::vector<point> vec; + +private: + Pointer<node> _next; +}; + +} // namespace floormat |