Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86534 - trunk/boost/geometry/algorithms
From: barend.gehrels_at_[hidden]
Date: 2013-11-01 10:54:34


Author: barendgehrels
Date: 2013-11-01 10:54:34 EDT (Fri, 01 Nov 2013)
New Revision: 86534
URL: http://svn.boost.org/trac/boost/changeset/86534

Log:
[geometry] fixed strategy type, reported by Menelaos on the list

Text files modified:
   trunk/boost/geometry/algorithms/distance.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/geometry/algorithms/distance.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/distance.hpp Fri Nov 1 10:07:06 2013 (r86533)
+++ trunk/boost/geometry/algorithms/distance.hpp 2013-11-01 10:54:34 EDT (Fri, 01 Nov 2013) (r86534)
@@ -369,7 +369,7 @@
           Linestring const& linestring,
           Strategy const& strategy)
     {
- typedef typename Strategy::point_strategy_type pp_strategy_type;
+ typedef typename strategy::distance::services::strategy_point_point<Strategy>::type pp_strategy_type;
         return detail::distance::point_to_range
             <
                 Point, Linestring, closed, pp_strategy_type, Strategy


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk