diff --git a/src/config.cpp b/src/config.cpp index 45fa2a13e44..6e285eca2b6 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -838,7 +838,7 @@ bool config::matches(const config &filter) const if(!found) return false; } child_list negative_children = filter.get_children("not"); - for(child_list::iterator j3 = negative_children.begin() ; j3 != negative_children.end() ; j3++) { + for(child_list::iterator j3 = negative_children.begin() ; j3 != negative_children.end() ; ++j3) { if(matches(**j3)) return false; } return true;