diff --git a/src/xml_tree.cpp b/src/xml_tree.cpp index efd94443e..2060162f6 100644 --- a/src/xml_tree.cpp +++ b/src/xml_tree.cpp @@ -265,7 +265,7 @@ xml_node & xml_node::get_child(std::string const& name) { std::list::iterator itr = children_.begin(); std::list::iterator end = children_.end(); - for (; itr != end; itr++) + for (; itr != end; ++itr) { if (!(itr->is_text_) && itr->name_ == name) {