diff --git a/src/backend/concrete_history.cc b/src/backend/concrete_history.cc index 6e8c119..eb1bd22 100644 --- a/src/backend/concrete_history.cc +++ b/src/backend/concrete_history.cc @@ -161,7 +161,7 @@ ConcreteHistory::remove(resource_key_t resource_key) { typedef std::vector SubRequests; SubRequests& subr = (*it3)->get_dynamic_subrequests(); - for(SubRequests::iterator it4; it4 != subr.end(); it4++) + for(SubRequests::iterator it4 = subr.begin(); it4 != subr.end(); it4++) { if((*it4)->get_resource_key() == resource_key) {