Explorar o código

Add CE_FATAL to use only as replacement to CE_ASSERT(false, ...)

Daniele Bartolini %!s(int64=12) %!d(string=hai) anos
pai
achega
9e0150a0dc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      engine/core/Assert.h

+ 1 - 0
engine/core/Assert.h

@@ -41,3 +41,4 @@ OTHER DEALINGS IN THE SOFTWARE.
 #endif
 
 #define CE_ASSERT_NOT_NULL(x) CE_ASSERT(x != NULL, "Parameter must be not null")
+#define CE_FATAL(msg) CE_ASSERT(false, msg)