Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61169 - sandbox/geometry/boost/geometry/multi/algorithms
From: mateusz_at_[hidden]
Date: 2010-04-09 16:58:17


Author: mloskot
Date: 2010-04-09 16:58:16 EDT (Fri, 09 Apr 2010)
New Revision: 61169
URL: http://svn.boost.org/trac/boost/changeset/61169

Log:
Geometry: missing typename keyword to allow name lookup for vector::const_iterator in dissolve_multi::apply().
Text files modified:
   sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp (original)
+++ sandbox/geometry/boost/geometry/multi/algorithms/dissolve.hpp 2010-04-09 16:58:16 EDT (Fri, 09 Apr 2010)
@@ -52,7 +52,7 @@
         {
             std::vector<GeometryOut> step2; // TODO avoid this, output to "out", if possible
             detail::dissolver::dissolver_generic<detail::dissolver::plusmin_policy>::apply(step1, step2);
- for (std::vector<GeometryOut>::const_iterator it = step2.begin();
+ for (typename std::vector<GeometryOut>::const_iterator it = step2.begin();
                 it != step2.end(); ++it)
             {
                 *out++ = *it;


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