feat(Core/Sockets): replace ACE_ASSERT to default core ASSERT (#4950)

This commit is contained in:
Kargatum 2021-03-25 09:09:13 +07:00 committed by GitHub
parent fb5d2fa2e5
commit 10fa49f5bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 19 deletions

View file

@ -141,7 +141,7 @@ protected:
sLog->outStaticDebug ("Network Thread Starting");
#endif
ACE_ASSERT (m_Reactor);
ASSERT(m_Reactor);
SocketSet::iterator i, t;
@ -344,7 +344,7 @@ WorldSocketMgr::OnSocketOpen (WorldSocket* sock)
// we skip the Acceptor Thread
size_t min = 1;
ACE_ASSERT (m_NetThreadsCount >= 1);
ASSERT(m_NetThreadsCount >= 1);
for (size_t i = 1; i < m_NetThreadsCount; ++i)
if (m_NetThreads[i].Connections() < m_NetThreads[min].Connections())