Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG-- branch : trunk
This commit is contained in:
1 parent
0948fc5bbe
commit
0f3b9019a8
159 files changed
+1943
-1939
No files matched your search
@@ -115,7 +115,7 @@ class ReactorRunnable : protected ACE_Task_Base
|
||||
sock->reactor (m_Reactor);
|
||||
m_NewSockets.insert (sock);
|
||||
|
||||
sScriptMgr.OnSocketOpen(sock);
|
||||
sScriptMgr->OnSocketOpen(sock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -140,7 +140,7 @@ class ReactorRunnable : protected ACE_Task_Base
|
||||
|
||||
if (sock->IsClosed())
|
||||
{
|
||||
sScriptMgr.OnSocketClose(sock, true);
|
||||
sScriptMgr->OnSocketClose(sock, true);
|
||||
|
||||
sock->RemoveReference();
|
||||
--m_Connections;
|
||||
@@ -180,7 +180,7 @@ class ReactorRunnable : protected ACE_Task_Base
|
||||
|
||||
(*t)->CloseSocket();
|
||||
|
||||
sScriptMgr.OnSocketClose((*t), false);
|
||||
sScriptMgr->OnSocketClose((*t), false);
|
||||
|
||||
(*t)->RemoveReference();
|
||||
--m_Connections;
|
||||
@@ -282,7 +282,7 @@ WorldSocketMgr::StartNetwork (ACE_UINT16 port, const char* address)
|
||||
if (StartReactiveIO(port, address) == -1)
|
||||
return -1;
|
||||
|
||||
sScriptMgr.OnNetworkStart();
|
||||
sScriptMgr->OnNetworkStart();
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -306,7 +306,7 @@ WorldSocketMgr::StopNetwork()
|
||||
|
||||
Wait();
|
||||
|
||||
sScriptMgr.OnNetworkStop();
|
||||
sScriptMgr->OnNetworkStop();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user