Browse Source

Changed GP_ASSERT to not call printError.

Darryl Gough 13 years ago
parent
commit
c055e5a77b
1 changed files with 1 additions and 6 deletions
  1. 1 6
      gameplay/src/Base.h

+ 1 - 6
gameplay/src/Base.h

@@ -60,12 +60,7 @@ extern void printError(const char* format, ...);
 
 // Assert macros.
 #ifdef _DEBUG
-#define GP_ASSERT(expression) do { \
-    if (!(expression)) \
-    { \
-        printError("%s -- Assertion '" #expression "' failed.\n", __current__func__); \
-        assert(expression); \
-    } } while (0)
+#define GP_ASSERT(expression) assert(expression)
 #else
 #define GP_ASSERT(expression)
 #endif