Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69338 - trunk/boost/geometry/algorithms
From: barend.gehrels_at_[hidden]
Date: 2011-02-27 12:14:43


Author: barendgehrels
Date: 2011-02-27 12:14:39 EST (Sun, 27 Feb 2011)
New Revision: 69338
URL: http://svn.boost.org/trac/boost/changeset/69338

Log:
Fix on forgotten typename
Text files modified:
   trunk/boost/geometry/algorithms/centroid.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/geometry/algorithms/centroid.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/centroid.hpp (original)
+++ trunk/boost/geometry/algorithms/centroid.hpp 2011-02-27 12:14:39 EST (Sun, 27 Feb 2011)
@@ -230,7 +230,7 @@
             typedef typename boost::range_iterator<Linestring const>::type point_iterator_type;
             typedef segment_returning_iterator<point_iterator_type, point_type> segment_iterator;
 
- typedef geometry::distance_result<Linestring>::type distance_type;
+ typedef typename geometry::distance_result<Linestring>::type distance_type;
             distance_type length = distance_type();
             std::pair<distance_type, distance_type> average_sum;
 


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