- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/module/PluginManager.cc
r10821 r10916 59 59 ModifyConsoleCommand("PluginManager", __CC_PluginManager_unload_name).setObject(nullptr); 60 60 61 for (auto & elem: this->references_)62 delete elem.second;63 for (auto & elem: this->plugins_)64 delete elem.second;61 for (auto& mapEntry : this->references_) 62 delete mapEntry.second; 63 for (auto& mapEntry : this->plugins_) 64 delete mapEntry.second; 65 65 } 66 66 … … 68 68 { 69 69 const std::vector<std::string>& pluginPaths = ApplicationPaths::getInstance().getPluginPaths(); 70 for ( autolibraryName : pluginPaths)70 for (const std::string& libraryName : pluginPaths) 71 71 { 72 72 std::string name; 73 74 73 std::string filename = libraryName + + specialConfig::pluginExtension; 75 74 std::ifstream infile(filename.c_str());
Note: See TracChangeset
for help on using the changeset viewer.