Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10521 for code/branches/core7


Ignore:
Timestamp:
May 31, 2015, 1:41:55 PM (9 years ago)
Author:
landauf
Message:

bugfix: the wrong set was used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/module/ModuleInstance.cc

    r10518 r10521  
    7272        std::set<StaticallyInitializedInstance*> copy(this->staticallyInitializedInstances_);
    7373        this->staticallyInitializedInstances_.clear();
    74         for (std::set<StaticallyInitializedInstance*>::iterator it = this->staticallyInitializedInstances_.begin(); it != this->staticallyInitializedInstances_.end(); ++it)
     74        for (std::set<StaticallyInitializedInstance*>::iterator it = copy.begin(); it != copy.end(); ++it)
    7575            delete (*it);
    7676    }
Note: See TracChangeset for help on using the changeset viewer.