Browse Source

config: ENTT_FAIL(msg) -> ENTT_ASSERT(false, msg)

Michele Caini 3 years ago
parent
commit
f157898462
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/entt/config/config.h

+ 2 - 0
src/entt/config/config.h

@@ -50,6 +50,8 @@
 #    define ENTT_ASSERT_CONSTEXPR(condition, msg) ENTT_ASSERT(condition, msg)
 #endif
 
+#define ENTT_FAIL(msg) ENTT_ASSERT(false, msg);
+
 #ifdef ENTT_NO_ETO
 #    define ENTT_ETO_TYPE(Type) void
 #else