Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2015, 10:54:34 PM (8 years ago)
Author:
landauf
Message:

replace '0' by 'nullptr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/network/TrafficControl.cc

    r9667 r10768  
    6464*Initializing protected members
    6565*/
    66     TrafficControl *TrafficControl::instance_=0;
     66    TrafficControl *TrafficControl::instance_=nullptr;
    6767
    6868    /**
     
    7272    {
    7373    RegisterObject(TrafficControl);
    74       assert(instance_==0);
     74      assert(instance_==nullptr);
    7575      instance_=this;
    7676    this->setConfigValues();
     
    7878
    7979    /**
    80     * @brief Destructor: resets the instance pointer to 0
     80    * @brief Destructor: resets the instance pointer to nullptr
    8181    */
    8282    TrafficControl::~TrafficControl()
    8383    {
    84       instance_=0;
     84      instance_=nullptr;
    8585    }
    8686
Note: See TracChangeset for help on using the changeset viewer.