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
This commit is contained in:
parent
1c82e0cf7d
commit
ff715f672f
@ -217,6 +217,7 @@ namespace pugi
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef It const_iterator;
|
typedef It const_iterator;
|
||||||
|
typedef It iterator;
|
||||||
|
|
||||||
xml_object_range(It b, It e): _begin(b), _end(e)
|
xml_object_range(It b, It e): _begin(b), _end(e)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user