summaryrefslogtreecommitdiffstats
path: root/source/cCriticalSection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cCriticalSection.cpp')
-rw-r--r--source/cCriticalSection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cCriticalSection.cpp b/source/cCriticalSection.cpp
index db182c299..f66e6b878 100644
--- a/source/cCriticalSection.cpp
+++ b/source/cCriticalSection.cpp
@@ -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();
}