diff --git a/include/boost/geometry/algorithms/distance.hpp b/include/boost/geometry/algorithms/distance.hpp index 9fb5554bf..9511e35a7 100644 --- a/include/boost/geometry/algorithms/distance.hpp +++ b/include/boost/geometry/algorithms/distance.hpp @@ -272,17 +272,6 @@ struct distance: not_implemented, {}; -template -struct distance - < - P1, P2, Strategy, - point_tag, point_tag, strategy_tag_distance_point_point, - false - > - : detail::distance::point_to_point -{}; - - // If reversal is needed, perform it template < @@ -350,6 +339,18 @@ struct distance }; +// Point-point +template +struct distance + < + P1, P2, Strategy, + point_tag, point_tag, strategy_tag_distance_point_point, + false + > + : detail::distance::point_to_point +{}; + + // Point-line version 1, where point-point strategy is specified template struct distance