mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-08 05:11:09 +00:00
refactor(Core): NULL -> nullptr (#3275)
* NULL to nullptr * NULL to nullptr * NULL to nullptr * NULL to nullptr * NULL to nullptr Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com> Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
@@ -183,7 +183,7 @@ int Master::Run()
|
||||
acore::Thread worldThread(new WorldRunnable);
|
||||
worldThread.setPriority(acore::Priority_Highest);
|
||||
|
||||
acore::Thread* cliThread = NULL;
|
||||
acore::Thread* cliThread = nullptr;
|
||||
|
||||
#ifdef _WIN32
|
||||
if (sConfigMgr->GetBoolDefault("Console.Enable", true) && (m_ServiceStatus == -1)/* need disable console in service mode*/)
|
||||
@@ -271,7 +271,7 @@ int Master::Run()
|
||||
#endif
|
||||
|
||||
// Start soap serving thread
|
||||
acore::Thread* soapThread = NULL;
|
||||
acore::Thread* soapThread = nullptr;
|
||||
if (sConfigMgr->GetBoolDefault("SOAP.Enabled", false))
|
||||
{
|
||||
ACSoapRunnable* runnable = new ACSoapRunnable();
|
||||
@@ -280,7 +280,7 @@ int Master::Run()
|
||||
}
|
||||
|
||||
// Start up freeze catcher thread
|
||||
acore::Thread* freezeThread = NULL;
|
||||
acore::Thread* freezeThread = nullptr;
|
||||
if (uint32 freezeDelay = sConfigMgr->GetIntDefault("MaxCoreStuckTime", 0))
|
||||
{
|
||||
FreezeDetectorRunnable* runnable = new FreezeDetectorRunnable(freezeDelay*1000);
|
||||
|
||||
Reference in New Issue
Block a user