- Timestamp:
- Nov 6, 2015, 10:54:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/TrafficControl.cc
r9667 r10768 64 64 *Initializing protected members 65 65 */ 66 TrafficControl *TrafficControl::instance_= 0;66 TrafficControl *TrafficControl::instance_=nullptr; 67 67 68 68 /** … … 72 72 { 73 73 RegisterObject(TrafficControl); 74 assert(instance_== 0);74 assert(instance_==nullptr); 75 75 instance_=this; 76 76 this->setConfigValues(); … … 78 78 79 79 /** 80 * @brief Destructor: resets the instance pointer to 080 * @brief Destructor: resets the instance pointer to nullptr 81 81 */ 82 82 TrafficControl::~TrafficControl() 83 83 { 84 instance_= 0;84 instance_=nullptr; 85 85 } 86 86
Note: See TracChangeset
for help on using the changeset viewer.