Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68702 - trunk/boost/geometry/extensions/gis/io/wkt
From: barend.gehrels_at_[hidden]
Date: 2011-02-07 15:09:48


Author: barendgehrels
Date: 2011-02-07 15:09:46 EST (Mon, 07 Feb 2011)
New Revision: 68702
URL: http://svn.boost.org/trac/boost/changeset/68702

Log:
Added now necessary reference after change in read wkt
Text files modified:
   trunk/boost/geometry/extensions/gis/io/wkt/read_wkt.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 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-07 15:09:46 EST (Mon, 07 Feb 2011)
@@ -293,7 +293,7 @@
     static inline void apply(tokenizer::iterator& it, tokenizer::iterator end,
                 std::string const& wkt, Geometry& geometry)
     {
- container_appender<Geometry>::apply(it, end, wkt, geometry);
+ container_appender<Geometry&>::apply(it, end, wkt, geometry);
     }
 };
 
@@ -308,7 +308,7 @@
         // So handle the extra opening/closing parentheses
         // and in between parse using the container-inserter
         handle_open_parenthesis(it, end, wkt);
- container_appender<Ring>::apply(it, end, wkt, ring);
+ container_appender<Ring&>::apply(it, end, wkt, ring);
         handle_close_parenthesis(it, end, wkt);
     }
 };


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