Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85068 - trunk/libs/geometry/extensions/test/gis/latlong
From: barend.gehrels_at_[hidden]
Date: 2013-07-17 18:03:01


Author: barendgehrels
Date: 2013-07-17 18:03:00 EDT (Wed, 17 Jul 2013)
New Revision: 85068
URL: http://svn.boost.org/trac/boost/changeset/85068

Log:
[geometry][extension] fixed distance cross_track test

Text files modified:
   trunk/libs/geometry/extensions/test/gis/latlong/cross_track.cpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/libs/geometry/extensions/test/gis/latlong/cross_track.cpp
==============================================================================
--- trunk/libs/geometry/extensions/test/gis/latlong/cross_track.cpp Wed Jul 17 17:41:12 2013 (r85067)
+++ trunk/libs/geometry/extensions/test/gis/latlong/cross_track.cpp 2013-07-17 18:03:00 EDT (Wed, 17 Jul 2013) (r85068)
@@ -39,23 +39,23 @@
             typename bg::coordinate_type<Point>::type const&expected,
             typename bg::coordinate_type<Point>::type const&tolerance)
 {
- typedef bg::strategy::distance::cross_track
+ typedef typename bg::strategy::distance::services::default_strategy
         <
- Point,
- Point
- > strategy_type;
+ bg::segment_tag, Point, Point
+ >::type strategy_type;
+
     typedef typename bg::strategy::distance::services::return_type
         <
- strategy_type
+ strategy_type, Point, Point
>::type return_type;
 
 
+#if !defined(BOOST_MSVC)
     BOOST_CONCEPT_ASSERT
         (
- (bg::concept::PointSegmentDistanceStrategy<strategy_type>)
+ (bg::concept::PointSegmentDistanceStrategy<strategy_type, Point, Point>)
         );
-
- //typedef bg::strategy::distance::andoyer<Point, Point> andoyer_type;
+#endif
 
     Point p1, p2, p3;
     bg::assign_values(p1, lon1, lat1);


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