config: wrap macro arguments to avoid warnings

This commit is contained in:
Michele Caini
2024-09-06 11:11:55 +02:00
parent 9c9816110e
commit a39fd8548d

View File

@@ -44,7 +44,7 @@
# define ENTT_ASSERT(condition, msg) (void(0))
#elif !defined ENTT_ASSERT
# include <cassert>
# define ENTT_ASSERT(condition, msg) assert(((condition) && msg))
# define ENTT_ASSERT(condition, msg) assert(((condition) && (msg)))
#endif
#ifdef ENTT_DISABLE_ASSERT