summaryrefslogtreecommitdiffhomepage
path: root/src/path-search-result.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-04 14:32:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-04 14:32:32 +0100
commit7fa7b3bc844d61ecc986f77819a11d1e4a526c57 (patch)
tree872ba871b481b5b5d397ffc20f2dca0c3812024e /src/path-search-result.cpp
parenta85eb5f8f15cf8712246c3d765708b636603ca14 (diff)
b
Diffstat (limited to 'src/path-search-result.cpp')
-rw-r--r--src/path-search-result.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path-search-result.cpp b/src/path-search-result.cpp
index 50e9173a..bc0ad31f 100644
--- a/src/path-search-result.cpp
+++ b/src/path-search-result.cpp
@@ -13,7 +13,7 @@ constexpr size_t min_length = TILE_MAX_DIM*2;
} // namespace
-std::unique_ptr<path_search_result::node> path_search_result::_pool; // NOLINT
+Pointer<path_search_result::node> path_search_result::_pool; // NOLINT
path_search_result::path_search_result()
{
@@ -27,7 +27,7 @@ path_search_result::path_search_result()
}
else
{
- _node = std::make_unique<node>();
+ _node = Pointer<node>{InPlaceInit};
_node->vec.reserve(min_length);
}
}