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/cEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cEvent.cpp') diff --git a/source/cEvent.cpp b/source/cEvent.cpp index bf3109cf4..c52a8a226 100644 --- a/source/cEvent.cpp +++ b/source/cEvent.cpp @@ -29,7 +29,7 @@ cEvent::cEvent(void) LOGWARN("WARNING cEvent: Could not create unnamed semaphore, fallback to named."); // _X: I'm unconvinced about using sem_unlink() just after a successful sem_open(), it seems wrong - why destroy the object just after creating? - assert(!"This codepath is really weird, if it is ever used, please check that everything works."); + ASSERT(!"This codepath is really weird, if it is ever used, please check that everything works."); delete m_Event; m_bIsNamed = true; -- cgit v1.2.3