From 0b616909e3472a4360e22d6b01749ee44092e967 Mon Sep 17 00:00:00 2001 From: faketruth Date: Sun, 19 Feb 2012 23:00:00 +0000 Subject: Using own ASSERT() that logs to file git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cIsThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cIsThread.cpp') diff --git a/source/cIsThread.cpp b/source/cIsThread.cpp index 13e9a0a07..61dd23b2a 100644 --- a/source/cIsThread.cpp +++ b/source/cIsThread.cpp @@ -78,7 +78,7 @@ cIsThread::~cIsThread() bool cIsThread::Start(void) { #ifdef _WIN32 - assert(mHandle == NULL); // Has already started one thread? + ASSERT(mHandle == NULL); // Has already started one thread? // Create the thread suspended, so that the mHandle variable is valid in the thread procedure DWORD ThreadID = 0; @@ -99,7 +99,7 @@ bool cIsThread::Start(void) #endif // _DEBUG and _MSC_VER #else // _WIN32 - assert(!mHasStarted); + ASSERT(!mHasStarted); if (pthread_create(&mHandle, NULL, thrExecute, this)) { -- cgit v1.2.3