From e29d99311f7a04b0668b5ee10808441b64c8a82a Mon Sep 17 00:00:00 2001 From: Bruno Lalande Date: Fri, 16 Dec 2011 23:20:35 +0000 Subject: [PATCH] Moved slightly misplaced specialization... [SVN r76004] --- .../boost/geometry/algorithms/distance.hpp | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) 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