- Fix typo with iterator initialization (screwed RAII)

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@780 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-07-19 14:02:44 +00:00
parent a92b542081
commit 984d390f3f
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ ConcreteHistory::remove(resource_key_t resource_key)
{
typedef std::vector<DynamicSubRequest*> 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)
{