1
0
Fork 0

Added missing #ifdef _DEBUG in cCriticalSection.cpp

Should compile in Release and on Linux now

git-svn-id: http://mc-server.googlecode.com/svn/trunk@191 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth 2012-01-29 21:51:36 +00:00
parent f7d690c070
commit 96da48401b
1 changed files with 5 additions and 3 deletions

View File

@ -79,9 +79,11 @@ void cCriticalSection::Unlock()
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// cCSLock
cCSLock::cCSLock(cCriticalSection * a_CS) :
m_CS(a_CS),
m_IsLocked(false)
cCSLock::cCSLock(cCriticalSection * a_CS)
: m_CS(a_CS)
#ifdef _DEBUG
, m_IsLocked(false)
#endif
{
Lock();
}