Skip to content

Commit f157898

Browse files
committed
config: ENTT_FAIL(msg) -> ENTT_ASSERT(false, msg)
1 parent 6d20709 commit f157898

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/entt/config/config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
# define ENTT_ASSERT_CONSTEXPR(condition, msg) ENTT_ASSERT(condition, msg)
5151
#endif
5252

53+
#define ENTT_FAIL(msg) ENTT_ASSERT(false, msg);
54+
5355
#ifdef ENTT_NO_ETO
5456
# define ENTT_ETO_TYPE(Type) void
5557
#else

0 commit comments

Comments
 (0)