diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-25 04:45:17 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-25 04:48:09 +0100 |
| commit | 50e42d74c9b25e2ec4c6b9fd3434f431c0b5c3d9 (patch) | |
| tree | 826691d937867e21587fd87adb2de6d34175eecd /src/search-node.hpp | |
| parent | 4746d19f7a749808391d1ad7ee6bd86950ba064f (diff) | |
rename path_search -> search
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 |
