From 8a7a14bc5330f0dcf9823b4b1ea6fbe53a27ead9 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Thu, 8 May 2014 15:52:53 +0300 Subject: [PATCH] [index] replace call to comparable_distance_near by bg::comparable_distance --- include/boost/geometry/index/detail/distance_predicates.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/geometry/index/detail/distance_predicates.hpp b/include/boost/geometry/index/detail/distance_predicates.hpp index c5c2c4c51..a8980cc41 100644 --- a/include/boost/geometry/index/detail/distance_predicates.hpp +++ b/include/boost/geometry/index/detail/distance_predicates.hpp @@ -112,7 +112,7 @@ struct calculate_distance< nearest, Indexable, Tag > static inline bool apply(nearest const& p, Indexable const& i, result_type & result) { - result = index::detail::comparable_distance_near(relation::value(p.point_or_relation), i); + result = geometry::comparable_distance(relation::value(p.point_or_relation), i); return true; } };