|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68749 - trunk/boost/geometry/extensions/gis/io/wkt
From: barend.gehrels_at_[hidden]
Date: 2011-02-09 14:31:13
Author: barendgehrels
Date: 2011-02-09 14:30:52 EST (Wed, 09 Feb 2011)
New Revision: 68749
URL: http://svn.boost.org/trac/boost/changeset/68749
Log:
Update for c++0x where I don't get BOOST_AUTO to work.
Text files modified:
trunk/boost/geometry/extensions/gis/io/wkt/read_wkt.hpp | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
Modified: trunk/boost/geometry/extensions/gis/io/wkt/read_wkt.hpp
==============================================================================
--- trunk/boost/geometry/extensions/gis/io/wkt/read_wkt.hpp (original)
+++ trunk/boost/geometry/extensions/gis/io/wkt/read_wkt.hpp 2011-02-09 14:30:52 EST (Wed, 09 Feb 2011)
@@ -331,10 +331,7 @@
tokenizer::iterator& it, tokenizer::iterator end,
std::string const& wkt, Rings& rings, int n)
{
- BOOST_AUTO(interior_it, boost::begin(rings));
-
- interior_it += (n - 1);
- appender::apply(it, end, wkt, *interior_it);
+ appender::apply(it, end, wkt, *(boost::begin(rings) + (n - 1)));
}
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