diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-20 00:00:00 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-20 00:00:00 +0100 |
commit | 0b616909e3472a4360e22d6b01749ee44092e967 (patch) | |
tree | 6a70857aa2839acd133b77fcc225af6828cb8f39 /source/cIsThread.cpp | |
parent | Fixed assertion bug in NamedEntitySpawn packet, it used to assert when item ID is 0, but now 0 is allowed (diff) | |
download | cuberite-0b616909e3472a4360e22d6b01749ee44092e967.tar cuberite-0b616909e3472a4360e22d6b01749ee44092e967.tar.gz cuberite-0b616909e3472a4360e22d6b01749ee44092e967.tar.bz2 cuberite-0b616909e3472a4360e22d6b01749ee44092e967.tar.lz cuberite-0b616909e3472a4360e22d6b01749ee44092e967.tar.xz cuberite-0b616909e3472a4360e22d6b01749ee44092e967.tar.zst cuberite-0b616909e3472a4360e22d6b01749ee44092e967.zip |
Diffstat (limited to 'source/cIsThread.cpp')
-rw-r--r-- | source/cIsThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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))
{
|