From ee644efa0c6bf9e5e31e5eb59df49f99d4175876 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 14 Feb 2024 19:57:38 +0100 Subject: clean up the vector wrapper --- src/path-search-result.cpp | 2 +- src/path-search-result.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/path-search-result.cpp b/src/path-search-result.cpp index d805bd31..afc4bf59 100644 --- a/src/path-search-result.cpp +++ b/src/path-search-result.cpp @@ -93,7 +93,7 @@ const point& path_search_result::operator[](size_t index) const fm_debug_assert(index < _node->vec.size()); return data()[index]; } -vector_wrapper path_search_result::raw_path() { fm_assert(_node); return {_node->vec}; } +vector_wrapper path_search_result::raw_path() { fm_assert(_node); return {_node->vec}; } ArrayView path_search_result::path() const { fm_assert(_node); return {_node->vec.data(), _node->vec.size()}; } } // namespace floormat diff --git a/src/path-search-result.hpp b/src/path-search-result.hpp index b12b23d3..d29fdc44 100644 --- a/src/path-search-result.hpp +++ b/src/path-search-result.hpp @@ -24,7 +24,7 @@ struct path_search_result final uint32_t distance() const; void set_distance(uint32_t dist); - vector_wrapper raw_path(); + vector_wrapper raw_path(); ArrayView path() const; explicit operator ArrayView() const; explicit operator bool() const; -- cgit v1.2.3