Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49899 - trunk/boost/property_tree/detail
From: daniel_james_at_[hidden]
Date: 2008-11-23 11:56:50


Author: danieljames
Date: 2008-11-23 11:56:50 EST (Sun, 23 Nov 2008)
New Revision: 49899
URL: http://svn.boost.org/trac/boost/changeset/49899

Log:
Support the lastest version of position_iterator.
Text files modified:
   trunk/boost/property_tree/detail/xml_parser_read_spirit.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/property_tree/detail/xml_parser_read_spirit.hpp
==============================================================================
--- trunk/boost/property_tree/detail/xml_parser_read_spirit.hpp (original)
+++ trunk/boost/property_tree/detail/xml_parser_read_spirit.hpp 2008-11-23 11:56:50 EST (Sun, 23 Nov 2008)
@@ -111,7 +111,7 @@
             void operator()(It b, It e) const
             {
                 Ptree &attr = c.stack.back()->get_child(xmlattr<Ch>());
- attr.back().second.put_value(Str(b + 1, e - 1));
+ attr.back().second.put_value(Str(b.base() + 1, e.base() - 1));
             }
         };
 
@@ -707,7 +707,7 @@
         
         // Initialize iterators
         It begin(v.begin(), v.end());
- It end;
+ It end(v.end(), v.end());;
         
         begin.set_position(detail::widen<Ch>(filename.c_str()));
         


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