Changeset 10765 for code/branches/cpp11_v2/src/libraries/core/Core.cc
- Timestamp:
- Nov 4, 2015, 10:25:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/Core.cc
r10624 r10765 95 95 96 96 Core::Core(const std::string& cmdLine) 97 : applicationPaths_( NULL)98 , configurablePaths_( NULL)99 , dynLibManager_( NULL)100 , signalHandler_( NULL)101 , configFileManager_( NULL)102 , languageInstance_( NULL)103 , loaderInstance_( NULL)104 , ioConsole_( NULL)105 , tclBind_( NULL)106 , tclThreadManager_( NULL)107 , rootScope_( NULL)108 , graphicsManager_( NULL)109 , inputManager_( NULL)110 , guiManager_( NULL)111 , graphicsScope_( NULL)97 : applicationPaths_(nullptr) 98 , configurablePaths_(nullptr) 99 , dynLibManager_(nullptr) 100 , signalHandler_(nullptr) 101 , configFileManager_(nullptr) 102 , languageInstance_(nullptr) 103 , loaderInstance_(nullptr) 104 , ioConsole_(nullptr) 105 , tclBind_(nullptr) 106 , tclThreadManager_(nullptr) 107 , rootScope_(nullptr) 108 , graphicsManager_(nullptr) 109 , inputManager_(nullptr) 110 , guiManager_(nullptr) 111 , graphicsScope_(nullptr) 112 112 , bGraphicsLoaded_(false) 113 , staticInitHandler_( NULL)114 , pluginManager_( NULL)115 , rootModule_( NULL)116 , config_( NULL)113 , staticInitHandler_(nullptr) 114 , pluginManager_(nullptr) 115 , rootModule_(nullptr) 116 , config_(nullptr) 117 117 , destructionHelper_(this) 118 118 { … … 176 176 177 177 // initialize root context 178 Context::setRootContext(new Context( NULL));178 Context::setRootContext(new Context(nullptr)); 179 179 180 180 // Do this soon after the ConfigFileManager has been created to open up the … … 326 326 module->deleteAllStaticallyInitializedInstances(); 327 327 this->dynLibManager_->unload(module->getDynLib()); 328 module->setDynLib( NULL);328 module->setDynLib(nullptr); 329 329 } 330 330 … … 471 471 } 472 472 // Process console events and status line 473 if (this->ioConsole_ != NULL)473 if (this->ioConsole_ != nullptr) 474 474 this->ioConsole_->preUpdate(time); 475 475 // Process thread commands
Note: See TracChangeset
for help on using the changeset viewer.