Minor traverse() refactoring
git-svn-id: http://pugixml.googlecode.com/svn/trunk@561 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
fa16efd438
commit
57564791a3
@ -3981,9 +3981,9 @@ namespace pugi
|
|||||||
while (cur && cur != *this);
|
while (cur && cur != *this);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!walker.end(*this)) return false;
|
assert(walker._depth == -1);
|
||||||
|
|
||||||
return true;
|
return walker.end(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int xml_node::document_order() const
|
unsigned int xml_node::document_order() const
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user