- 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:
parent
a92b542081
commit
984d390f3f
|
@ -161,7 +161,7 @@ ConcreteHistory::remove(resource_key_t resource_key)
|
||||||
{
|
{
|
||||||
typedef std::vector<DynamicSubRequest*> SubRequests;
|
typedef std::vector<DynamicSubRequest*> SubRequests;
|
||||||
SubRequests& subr = (*it3)->get_dynamic_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)
|
if((*it4)->get_resource_key() == resource_key)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue