mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 12:12:10 +00:00
[index] replace call to comparable_distance_near by bg::comparable_distance
This commit is contained in:
@@ -112,7 +112,7 @@ struct calculate_distance< nearest<PointRelation>, Indexable, Tag >
|
||||
|
||||
static inline bool apply(nearest<PointRelation> 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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user