Ditched ACE_Singleton in favor of C++11 like Singleton

This commit is contained in:
leak committed 2014-05-31 15:58:59 +02:00
1 parent f05d540658
commit bf6e58b8d4
3 files changed
+15 -10

No files matched your search

+3 -2
View File
@@ -152,8 +152,9 @@ int main(int argc, char** argv)
return 1;
// Get the list of realms for the server
sRealmList->Initialize(sConfigMgr->GetIntDefault("RealmsStateUpdateDelay", 20));
if (sRealmList->size() == 0)
sRealmList.Initialize(sConfigMgr->GetIntDefault("RealmsStateUpdateDelay", 20));
if (sRealmList.size() == 0)
{
TC_LOG_ERROR("server.authserver", "No valid realms specified.");
return 1;