Changeset 10917 for code/branches/cpp11_v2/src/libraries
- Timestamp:
- Dec 2, 2015, 11:32:08 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/core
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Language.cc
r10916 r10917 107 107 Language::~Language() 108 108 { 109 for ( auto& mapEntry : this->languageEntries_)109 for (const auto& mapEntry : this->languageEntries_) 110 110 delete (mapEntry.second); 111 111 } -
code/branches/cpp11_v2/src/libraries/core/Loader.cc
r10916 r10917 261 261 { 262 262 bool expectedValue = true; 263 for ( auto& mapEntry : luaTags)263 for (const auto& mapEntry : luaTags) 264 264 { 265 265 if (mapEntry.second == expectedValue) -
code/branches/cpp11_v2/src/libraries/core/NamespaceNode.cc
r10916 r10917 103 103 bool bFoundMatchingNamespace = false; 104 104 105 for ( auto& mapEntry : this->subnodes_)105 for (const auto& mapEntry : this->subnodes_) 106 106 { 107 107 if (mapEntry.first.find(firstPart) == (mapEntry.first.size() - firstPart.size())) -
code/branches/cpp11_v2/src/libraries/core/class/Identifier.cc
r10916 r10917 92 92 const_cast<Identifier*>(directChild)->directParents_.remove(this); 93 93 94 for ( auto& mapEntry : this->configValues_)94 for (const auto& mapEntry : this->configValues_) 95 95 delete (mapEntry.second); 96 for ( auto& mapEntry : this->xmlportParamContainers_)96 for (const auto& mapEntry : this->xmlportParamContainers_) 97 97 delete (mapEntry.second); 98 for ( auto& mapEntry : this->xmlportObjectContainers_)98 for (const auto& mapEntry : this->xmlportObjectContainers_) 99 99 delete (mapEntry.second); 100 100 } -
code/branches/cpp11_v2/src/libraries/core/input/InputManager.cc
r10916 r10917 373 373 // check whether a state has changed its EMPTY situation 374 374 bool bUpdateRequired = false; 375 for ( auto& mapEntry : activeStates_)375 for (const auto& mapEntry : activeStates_) 376 376 { 377 377 if (mapEntry.second->hasExpired()) -
code/branches/cpp11_v2/src/libraries/core/module/DynLibManager.cc
r10916 r10917 75 75 { 76 76 // Unload & delete resources in turn 77 for ( auto& mapEntry : mLibList)77 for (const auto& mapEntry : mLibList) 78 78 { 79 79 mapEntry.second->unload(); -
code/branches/cpp11_v2/src/libraries/core/module/ModuleInstance.cc
r10916 r10917 75 75 std::map<StaticInitialization::Type, std::set<StaticallyInitializedInstance*>> copy(this->staticallyInitializedInstancesByType_); 76 76 this->staticallyInitializedInstancesByType_.clear(); 77 for ( auto& mapEntry : copy)77 for (const auto& mapEntry : copy) 78 78 for (std::set<StaticallyInitializedInstance*>::iterator it2 = mapEntry.second.begin(); it2 != mapEntry.second.end(); ++it2) 79 79 delete (*it2); -
code/branches/cpp11_v2/src/libraries/core/module/PluginManager.cc
r10916 r10917 59 59 ModifyConsoleCommand("PluginManager", __CC_PluginManager_unload_name).setObject(nullptr); 60 60 61 for ( auto& mapEntry : this->references_)61 for (const auto& mapEntry : this->references_) 62 62 delete mapEntry.second; 63 for ( auto& mapEntry : this->plugins_)63 for (const auto& mapEntry : this->plugins_) 64 64 delete mapEntry.second; 65 65 }
Note: See TracChangeset
for help on using the changeset viewer.