From 984d390f3ff14b7f05b23a38e5584779fd06fa06 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Wed, 19 Jul 2006 14:02:44 +0000 Subject: [PATCH] - Fix typo with iterator initialization (screwed RAII) git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@780 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/backend/concrete_history.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {