Changeset 11062 for code/branches/cpp11_v3/src/libraries/core
- Timestamp:
- Jan 13, 2016, 11:13:30 PM (9 years ago)
- Location:
- code/branches/cpp11_v3/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3/src/libraries/core/GUIManager.cc
r11054 r11062 267 267 ArgumentCompletionList names; 268 268 const std::vector<std::string> guis = GUIManager::getInstance().getLoadedGUIs(); 269 for ( size_t i = 0; i < guis.size(); ++i)270 names.push_back(ArgumentCompletionListElement(gui s[i], getLowercase(guis[i])));269 for (const std::string gui : guis) 270 names.push_back(ArgumentCompletionListElement(gui, getLowercase(gui))); 271 271 return names; 272 272 } -
code/branches/cpp11_v3/src/libraries/core/module/Plugin.cc
r11054 r11062 79 79 { 80 80 // only load module if it isn't already loaded. otherwise merely activate it. 81 if (this->moduleInstance_ == NULL)81 if (this->moduleInstance_ == nullptr) 82 82 this->loadModule(); 83 83 else … … 112 112 Core::getInstance().unloadModule(this->moduleInstance_); 113 113 delete this->moduleInstance_; 114 this->moduleInstance_ = NULL;114 this->moduleInstance_ = nullptr; 115 115 } 116 116 void Plugin::deactivateModule()
Note: See TracChangeset
for help on using the changeset viewer.