diff options
Diffstat (limited to 'src/path-search-result.cpp')
-rw-r--r-- | src/path-search-result.cpp | 4 |
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); } } |