Minor traverse() refactoring

git-svn-id: http://pugixml.googlecode.com/svn/trunk@561 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-07-06 12:21:38 +00:00
parent fa16efd438
commit 57564791a3

View File

@ -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