Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85295 - trunk/libs/geometry/doc/src/examples/algorithms
From: barend.gehrels_at_[hidden]
Date: 2013-08-10 18:32:40


Author: barendgehrels
Date: 2013-08-10 18:32:40 EDT (Sat, 10 Aug 2013)
New Revision: 85295
URL: http://svn.boost.org/trac/boost/changeset/85295

Log:
[geometry] fixed doc/example to new distance strategy structure

Text files modified:
   trunk/libs/geometry/doc/src/examples/algorithms/length_with_strategy.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/geometry/doc/src/examples/algorithms/length_with_strategy.cpp
==============================================================================
--- trunk/libs/geometry/doc/src/examples/algorithms/length_with_strategy.cpp Sat Aug 10 18:18:27 2013 (r85294)
+++ trunk/libs/geometry/doc/src/examples/algorithms/length_with_strategy.cpp 2013-08-10 18:32:40 EDT (Sat, 10 Aug 2013) (r85295)
@@ -24,7 +24,7 @@
     line.push_back(P(5, 52));
     double const mean_radius = 6371.0; /*< [@http://en.wikipedia.org/wiki/Earth_radius Wiki] >*/
     std::cout << "length is "
- << length(line, strategy::distance::haversine<P>(mean_radius) )
+ << length(line, strategy::distance::haversine<float>(mean_radius) )
         << " kilometers " << std::endl;
 
     return 0;


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