[10614] Replace ACE_ASSERT with MANGOS_ASSERT

This commit is contained in:
DasBlub 2010-10-17 00:03:38 +02:00
parent 57a88d2e3f
commit a3c03eb919
3 changed files with 16 additions and 16 deletions

View file

@ -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 ())