Moved slightly misplaced specialization...

[SVN r76004]
This commit is contained in:
Bruno Lalande
2011-12-16 23:20:35 +00:00
parent 9ff892b616
commit e29d99311f

View File

@@ -272,17 +272,6 @@ struct distance: not_implemented<for_geometry<Tag1>,
{};
template <typename P1, typename P2, typename Strategy>
struct distance
<
P1, P2, Strategy,
point_tag, point_tag, strategy_tag_distance_point_point,
false
>
: detail::distance::point_to_point<P1, P2, Strategy>
{};
// If reversal is needed, perform it
template
<
@@ -350,6 +339,18 @@ struct distance
};
// Point-point
template <typename P1, typename P2, typename Strategy>
struct distance
<
P1, P2, Strategy,
point_tag, point_tag, strategy_tag_distance_point_point,
false
>
: detail::distance::point_to_point<P1, P2, Strategy>
{};
// Point-line version 1, where point-point strategy is specified
template <typename Point, typename Linestring, typename Strategy>
struct distance