Changeset 10919 for code/branches/cpp11_v2/src/libraries/core/module
- Timestamp:
- Dec 5, 2015, 10:47:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/module/ModuleInstance.cc
r10917 r10919 76 76 this->staticallyInitializedInstancesByType_.clear(); 77 77 for (const auto& mapEntry : copy) 78 for ( std::set<StaticallyInitializedInstance*>::iterator it2 = mapEntry.second.begin(); it2 != mapEntry.second.end(); ++it2)79 delete (*it2);78 for (StaticallyInitializedInstance* instance : mapEntry.second) 79 delete instance; 80 80 } 81 81
Note: See TracChangeset
for help on using the changeset viewer.