mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[10614] Replace ACE_ASSERT with MANGOS_ASSERT
This commit is contained in:
parent
57a88d2e3f
commit
a3c03eb919
3 changed files with 16 additions and 16 deletions
|
|
@ -154,7 +154,7 @@ class ReactorRunnable : protected ACE_Task_Base
|
|||
|
||||
WorldDatabase.ThreadStart ();
|
||||
|
||||
ACE_ASSERT (m_Reactor);
|
||||
MANGOS_ASSERT (m_Reactor);
|
||||
|
||||
SocketSet::iterator i, t;
|
||||
|
||||
|
|
@ -353,7 +353,7 @@ WorldSocketMgr::OnSocketOpen (WorldSocket* sock)
|
|||
// we skip the Acceptor Thread
|
||||
size_t min = 1;
|
||||
|
||||
ACE_ASSERT (m_NetThreadsCount >= 1);
|
||||
MANGOS_ASSERT (m_NetThreadsCount >= 1);
|
||||
|
||||
for (size_t i = 1; i < m_NetThreadsCount; ++i)
|
||||
if (m_NetThreads[i].Connections () < m_NetThreads[min].Connections ())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue