Fixed compilation for vs 2013
This commit is contained in:
@@ -1088,7 +1088,7 @@ class ScriptMgr
|
|||||||
uint32 _scriptCount;
|
uint32 _scriptCount;
|
||||||
|
|
||||||
//atomic op counter for active scripts amount
|
//atomic op counter for active scripts amount
|
||||||
std::atomic_long _scheduledScripts;
|
std::atomic<long> _scheduledScripts;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class TScript>
|
template<class TScript>
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ class ReactorRunnable : protected ACE_Task_Base
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef std::atomic_long AtomicInt;
|
typedef std::atomic<int> AtomicInt;
|
||||||
typedef std::set<WorldSocket*> SocketSet;
|
typedef std::set<WorldSocket*> SocketSet;
|
||||||
|
|
||||||
ACE_Reactor* m_Reactor;
|
ACE_Reactor* m_Reactor;
|
||||||
|
|||||||
Reference in New Issue
Block a user