summaryrefslogtreecommitdiffhomepage
path: root/src/path-search-result.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-search-result.hpp')
-rw-r--r--src/path-search-result.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/path-search-result.hpp b/src/path-search-result.hpp
index 89e240b8..fc02e1ba 100644
--- a/src/path-search-result.hpp
+++ b/src/path-search-result.hpp
@@ -1,8 +1,8 @@
#pragma once
#include "src/global-coords.hpp"
#include "compat/defs.hpp"
-#include <memory>
#include <vector>
+#include <Corrade/Containers/Pointer.h>
namespace floormat {
@@ -48,12 +48,12 @@ private:
std::vector<point> vec;
private:
- std::unique_ptr<node> _next;
+ Pointer<node> _next;
};
- static std::unique_ptr<node> _pool; // NOLINT(*-avoid-non-const-global-variables)
+ static Pointer<node> _pool; // NOLINT(*-avoid-non-const-global-variables)
- std::unique_ptr<node> _node;
+ Pointer<node> _node;
float _time = 0;
uint32_t _cost = 0, _distance = (uint32_t)-1;
bool _found : 1 = false;