replaced UNUSED and assert combination by a fixed up assert macro - thanks luis! :)

This commit is contained in:
Thomas Fischer 2014-03-15 12:50:38 +01:00
parent 2844ab6912
commit 489106ae5e
19 changed files with 3 additions and 26 deletions

View file

@ -96,8 +96,8 @@ public:
{ if ( ::PlatformAssert::processAssert(::PlatformAssert::Fatal, __FILE__, __LINE__, y) ) { ::Platform::debugBreak(); } } }
#else
#define AssertFatal(x, y) { (void)sizeof(x); (void)sizeof(y); }
#define AssertWarn(x, y) { (void)sizeof(x); (void)sizeof(y); }
#define AssertFatal(x, y) { TORQUE_UNUSED(x); TORQUE_UNUSED(y); }
#define AssertWarn(x, y) { TORQUE_UNUSED(x); TORQUE_UNUSED(y); }
#endif
/*!