summaryrefslogtreecommitdiffhomepage
path: root/src/search-node.hpp
blob: c2977f845ac3883a9910dc2a80d4240ffa0a412b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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