1
0

Using own ASSERT() that logs to file

git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth
2012-02-19 23:00:00 +00:00
parent df39f12e30
commit 0b616909e3
22 changed files with 50 additions and 59 deletions

View File

@@ -114,7 +114,7 @@ cCSLock::~cCSLock()
void cCSLock::Lock(void)
{
assert(!m_IsLocked);
ASSERT(!m_IsLocked);
m_IsLocked = true;
m_CS->Lock();
}
@@ -125,7 +125,7 @@ void cCSLock::Lock(void)
void cCSLock::Unlock(void)
{
assert(m_IsLocked);
ASSERT(m_IsLocked);
m_IsLocked = false;
m_CS->Unlock();
}