From 471a3c5053719d18e8802ab73d4d0849b28380c2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 25 Feb 2024 07:44:45 +0100 Subject: clean up some more --- src/chunk-region.cpp | 1 - src/search-result.cpp | 2 +- src/search-result.hpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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 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/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 raw_path(); + vector_wrapper raw_path(); ArrayView path() const; explicit operator ArrayView() const; explicit operator bool() const; -- cgit v1.2.3