- 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/module/Plugin.cc
r10553 r10765 38 38 { 39 39 this->referenceCounter_ = 0; 40 this->moduleInstance_ = NULL;40 this->moduleInstance_ = nullptr; 41 41 } 42 42 43 43 Plugin::~Plugin() 44 44 { 45 if (this->moduleInstance_ != NULL)45 if (this->moduleInstance_ != nullptr) 46 46 { 47 47 this->referenceCounter_ = 1; // force unloading … … 77 77 Core::getInstance().unloadModule(this->moduleInstance_); 78 78 delete this->moduleInstance_; 79 this->moduleInstance_ = NULL;79 this->moduleInstance_ = nullptr; 80 80 } 81 81 else
Note: See TracChangeset
for help on using the changeset viewer.