Changeset 11071 for code/trunk/src/libraries/core/module/DynLibManager.cc
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/module/DynLibManager.cc
r10540 r11071 38 38 //----------------------------------------------------------------------- 39 39 //! Static pointer to the singleton 40 DynLibManager* DynLibManager::singletonPtr_s = 0;40 DynLibManager* DynLibManager::singletonPtr_s = nullptr; 41 41 42 42 //----------------------------------------------------------------------- … … 75 75 { 76 76 // Unload & delete resources in turn 77 for ( DynLibList::iterator it = mLibList.begin(); it != mLibList.end(); ++it)77 for (const auto& mapEntry : mLibList) 78 78 { 79 it->second->unload();80 delete it->second;79 mapEntry.second->unload(); 80 delete mapEntry.second; 81 81 } 82 82
Note: See TracChangeset
for help on using the changeset viewer.