Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59367 - trunk/boost/property_tree/detail
From: sebastian.redl_at_[hidden]
Date: 2010-01-30 07:49:53


Author: cornedbee
Date: 2010-01-30 07:49:52 EST (Sat, 30 Jan 2010)
New Revision: 59367
URL: http://svn.boost.org/trac/boost/changeset/59367

Log:
Fix an issue in MSVC for ptree::equal_range.
Text files modified:
   trunk/boost/property_tree/detail/ptree_implementation.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/property_tree/detail/ptree_implementation.hpp
==============================================================================
--- trunk/boost/property_tree/detail/ptree_implementation.hpp (original)
+++ trunk/boost/property_tree/detail/ptree_implementation.hpp 2010-01-30 07:49:52 EST (Sat, 30 Jan 2010)
@@ -445,8 +445,8 @@
         std::pair<typename subs::by_name_index::iterator,
                   typename subs::by_name_index::iterator> r(
             subs::assoc(this).equal_range(key));
- return std::pair<assoc_iterator, assoc_iterator>(r.first.base(),
- r.second.base());
+ return std::pair<assoc_iterator, assoc_iterator>(r.first,
+ r.second);
     }
 
     template<class K, class D, class C> inline
@@ -459,7 +459,7 @@
                   typename subs::by_name_index::const_iterator> r(
             subs::assoc(this).equal_range(key));
         return std::pair<const_assoc_iterator, const_assoc_iterator>(
- r.first.base(), r.second.base());
+ r.first, r.second);
     }
 
     template<class K, class D, class C> inline


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