Changeset 10521 for code/branches/core7/src
- Timestamp:
- May 31, 2015, 1:41:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/module/ModuleInstance.cc
r10518 r10521 72 72 std::set<StaticallyInitializedInstance*> copy(this->staticallyInitializedInstances_); 73 73 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) 75 75 delete (*it); 76 76 }
Note: See TracChangeset
for help on using the changeset viewer.