- Timestamp:
- Nov 4, 2015, 10:25:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/MasterServer.cc
r10624 r10765 43 43 44 44 /* forward declaration so the linker doesn't complain */ 45 MasterServer *MasterServer::instance = NULL;45 MasterServer *MasterServer::instance = nullptr; 46 46 47 47 /* command: list servers */ … … 345 345 /***** ENTER MAIN LOOP *****/ 346 346 ENetEvent *event = (ENetEvent *)calloc(sizeof(ENetEvent), sizeof(char)); 347 if( event == NULL)347 if( event == nullptr ) 348 348 { 349 349 orxout(user_error, context::master_server) << "Could not create ENetEvent structure, exiting." << endl;
Note: See TracChangeset
for help on using the changeset viewer.