Fixed compilation for vs 2013

This commit is contained in:
Yehonal
2016-09-04 14:39:59 +02:00
parent 1f751abf25
commit 3db4c1717b
2 changed files with 2 additions and 2 deletions

View File

@@ -1088,7 +1088,7 @@ class ScriptMgr
uint32 _scriptCount;
//atomic op counter for active scripts amount
std::atomic_long _scheduledScripts;
std::atomic<long> _scheduledScripts;
};
template<class TScript>

View File

@@ -186,7 +186,7 @@ class ReactorRunnable : protected ACE_Task_Base
}
private:
typedef std::atomic_long AtomicInt;
typedef std::atomic<int> AtomicInt;
typedef std::set<WorldSocket*> SocketSet;
ACE_Reactor* m_Reactor;