[index] replace call to comparable_distance_near by bg::comparable_distance

This commit is contained in:
Menelaos Karavelas
2014-05-08 15:52:53 +03:00
parent 203aa991ae
commit 8a7a14bc53

View File

@@ -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;
}
};