diff options
Diffstat (limited to 'src/path-search-result.cpp')
| -rw-r--r-- | src/path-search-result.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-search-result.cpp b/src/path-search-result.cpp index fe420475..50e9173a 100644 --- a/src/path-search-result.cpp +++ b/src/path-search-result.cpp @@ -34,7 +34,7 @@ path_search_result::path_search_result() path_search_result::~path_search_result() noexcept { - if (_node) [[likely]] + if (_node && _node->vec.capacity() > 0) [[likely]] { _node->vec.clear(); _node->_next = std::move(_pool); |
