Daniele Bartolini 12 лет назад
Родитель
Сommit
ff44562f2e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/Assert.h

+ 1 - 1
src/core/Assert.h

@@ -37,7 +37,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 	#define CE_ASSERT(condition, message, ...) do { if (!(condition)) { CE_ERROR(__FILE__, __LINE__,\
 				"Assertion failed: %s\n\t" message, #condition, ##__VA_ARGS__); } } while(0)
 #else
-	#define CE_ASSERT(condition, message, ...) ((void)0)
+	#define CE_ASSERT(...) ((void)0)
 #endif
 
 #define CE_ASSERT_NOT_NULL(x) CE_ASSERT(x != NULL, "Parameter must be not null")