mirror of
https://github.com/boostorg/property_tree.git
synced 2026-02-21 15:22:12 +00:00
Support the lastest version of position_iterator.
[SVN r49899]
This commit is contained in:
@@ -111,7 +111,7 @@ namespace boost { namespace property_tree { namespace xml_parser
|
||||
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 @@ namespace boost { namespace property_tree { namespace xml_parser
|
||||
|
||||
// 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()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user