From ff715f672f37d3f3c40d986e95d23dd8997ab53c Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Thu, 2 Aug 2012 09:22:43 +0000 Subject: Add xml_object_range::iterator to work around Boost.ForEach errors without BOOST_FOREACH_RUN_TIME_CONST_RVALUE_DETECTION feature (i.e. SunCC 12). Fixes issue 164. git-svn-id: http://pugixml.googlecode.com/svn/trunk@919 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/pugixml.hpp b/src/pugixml.hpp index b5294c6..898cadc 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -217,6 +217,7 @@ namespace pugi { public: typedef It const_iterator; + typedef It iterator; xml_object_range(It b, It e): _begin(b), _end(e) { -- cgit v1.2.3