ACE cleanup on game, now the major issue remains WorldSocket

This commit is contained in:
leak
2014-07-02 02:20:53 +02:00
parent 66c94ce965
commit e0aed65c8c
11 changed files with 25 additions and 22 deletions

View File

@@ -19,9 +19,8 @@
#ifndef SC_SCRIPTMGR_H
#define SC_SCRIPTMGR_H
#include <atomic>
#include "Common.h"
#include <ace/Atomic_Op.h>
#include "DBCStores.h"
#include "QuestDef.h"
#include "SharedDefines.h"
@@ -1128,7 +1127,7 @@ class ScriptMgr
uint32 _scriptCount;
//atomic op counter for active scripts amount
ACE_Atomic_Op<ACE_Thread_Mutex, long> _scheduledScripts;
std::atomic_long _scheduledScripts;
};
#endif