Changeset 10768 for code/branches/cpp11_v2/src/orxonox/Test.cc
- Timestamp:
- Nov 6, 2015, 10:54:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/Test.cc
r10624 r10768 54 54 registerMemberNetworkFunction( Test, printBlaBla ); 55 55 56 Test* Test::instance_ = 0;56 Test* Test::instance_ = nullptr; 57 57 58 58 Test::Test(Context* context) : BaseObject(context), Synchronisable(context) 59 59 { 60 assert(instance_== 0);60 assert(instance_==nullptr); 61 61 instance_=this; 62 62 RegisterObject ( Test ); … … 64 64 registerVariables(); 65 65 setSyncMode(0x3); 66 this->pointer_ = 0;66 this->pointer_ = nullptr; 67 67 } 68 68 69 69 Test::~Test() 70 70 { 71 instance_= 0;71 instance_=nullptr; 72 72 } 73 73
Note: See TracChangeset
for help on using the changeset viewer.