summaryrefslogtreecommitdiffhomepage
path: root/src/path-search.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-10-10 03:28:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-10-10 03:28:21 +0200
commitf0787ab92794bb3bed1788b3a79f4eafbd308736 (patch)
treeb9de7b614837211d7366b6a772ad7fec485b10df /src/path-search.hpp
parent54ddc5a5aaa5f66f82789163b8f71053375f1088 (diff)
a
Diffstat (limited to 'src/path-search.hpp')
-rw-r--r--src/path-search.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path-search.hpp b/src/path-search.hpp
index 8a6dd768..629cda71 100644
--- a/src/path-search.hpp
+++ b/src/path-search.hpp
@@ -68,7 +68,7 @@ struct astar
using pred = path_search::pred;
template<typename T> using bbox = path_search::bbox<T>;
- struct point_hash { size_t operator()(point pt) const; };
+ struct point_hash { size_t operator()(const point& pt) const; };
fm_DECLARE_DELETED_COPY_ASSIGNMENT(astar);