summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chunk-region.cpp1
-rw-r--r--src/search-result.cpp2
-rw-r--r--src/search-result.hpp2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/chunk-region.cpp b/src/chunk-region.cpp
index 228b1052..c976fd28 100644
--- a/src/chunk-region.cpp
+++ b/src/chunk-region.cpp
@@ -14,7 +14,6 @@ namespace floormat {
namespace {
using Search::bbox;
-using Search::div_factor;
using Search::div_size;
using Search::div_count;
using Search::pred;
diff --git a/src/search-result.cpp b/src/search-result.cpp
index ba94b6f0..31f3887c 100644
--- a/src/search-result.cpp
+++ b/src/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, vector_wrapper_repr::lvalue_reference_to_vector> path_search_result::raw_path() { fm_assert(_node); return {_node->vec}; }
+vector_wrapper<point, vector_wrapper_repr::ref> 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
diff --git a/src/search-result.hpp b/src/search-result.hpp
index d29fdc44..257d25a3 100644
--- a/src/search-result.hpp
+++ b/src/search-result.hpp
@@ -24,7 +24,7 @@ struct path_search_result final
uint32_t distance() const;
void set_distance(uint32_t dist);
- vector_wrapper<point, vector_wrapper_repr::lvalue_reference_to_vector> raw_path();
+ vector_wrapper<point, vector_wrapper_repr::ref> raw_path();
ArrayView<const point> path() const;
explicit operator ArrayView<const point>() const;
explicit operator bool() const;