summaryrefslogtreecommitdiffhomepage
path: root/src/path-search-result.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-14 19:57:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-14 19:57:38 +0100
commitee644efa0c6bf9e5e31e5eb59df49f99d4175876 (patch)
tree7715c418977f37f139ca89465df471cd2d8589f4 /src/path-search-result.cpp
parentc775f4a2b2ade7767d0028ec69f847006805c6b7 (diff)
clean up the vector wrapper
Diffstat (limited to 'src/path-search-result.cpp')
-rw-r--r--src/path-search-result.cpp2
1 files changed, 1 insertions, 1 deletions
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<point> path_search_result::raw_path() { fm_assert(_node); return {_node->vec}; }
+vector_wrapper<point, vector_wrapper_repr::lvalue_reference_to_vector> path_search_result::raw_path() { fm_assert(_node); return {_node->vec}; }
ArrayView<const point> path_search_result::path() const { fm_assert(_node); return {_node->vec.data(), _node->vec.size()}; }
} // namespace floormat