newer standards prefer nullptr over NULL - this is most of them but there are others too

This commit is contained in:
DarthArgus
2016-02-15 00:07:31 -06:00
parent 6bb5137dc4
commit 03dc62efba
937 changed files with 14983 additions and 14983 deletions
@@ -26,13 +26,13 @@
// ======================================================================
CharacterCreationTracker * CharacterCreationTracker::ms_instance = NULL;
CharacterCreationTracker * CharacterCreationTracker::ms_instance = nullptr;
// ======================================================================
void CharacterCreationTracker::install()
{
DEBUG_FATAL(ms_instance != NULL,("Called install() twice.\n"));
DEBUG_FATAL(ms_instance != nullptr,("Called install() twice.\n"));
ms_instance = new CharacterCreationTracker;
ExitChain::add(CharacterCreationTracker::remove,"CharacterCreationTracker::remove");
}
@@ -354,8 +354,8 @@ void CharacterCreationTracker::setFastCreationLock(StationId account)
CharacterCreationTracker::CreationRecord::CreationRecord() :
m_stage(S_queuedForGameServer),
m_gameCreationRequest(NULL),
m_loginCreationRequest(NULL),
m_gameCreationRequest(nullptr),
m_loginCreationRequest(nullptr),
m_creationTime(ServerClock::getInstance().getGameTimeSeconds()),
m_gameServerId(0),
m_loginServerId(0),