Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2015, 10:25:42 PM (9 years ago)
Author:
landauf
Message:

replace 'NULL' by 'nullptr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/module/Plugin.cc

    r10553 r10765  
    3838    {
    3939        this->referenceCounter_ = 0;
    40         this->moduleInstance_ = NULL;
     40        this->moduleInstance_ = nullptr;
    4141    }
    4242
    4343    Plugin::~Plugin()
    4444    {
    45         if (this->moduleInstance_ != NULL)
     45        if (this->moduleInstance_ != nullptr)
    4646        {
    4747            this->referenceCounter_ = 1; // force unloading
     
    7777            Core::getInstance().unloadModule(this->moduleInstance_);
    7878            delete this->moduleInstance_;
    79             this->moduleInstance_ = NULL;
     79            this->moduleInstance_ = nullptr;
    8080        }
    8181        else
Note: See TracChangeset for help on using the changeset viewer.