summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-08-02 09:22:43 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-08-02 09:22:43 +0000
commitff715f672f37d3f3c40d986e95d23dd8997ab53c (patch)
tree7f807d0b345d6e03d97e56bacb09151bd9a09a30 /src
parent1c82e0cf7d5954b3da74e6ec171b8acc6a07ad61 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.hpp1
1 files changed, 1 insertions, 0 deletions
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)
{