ACE cleanup on game, now the major issue remains WorldSocket

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

No files matched your search

+2 -3
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