mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
Add support for overriding MAGIC_ENUM_ASSERT (#322)
This commit is contained in:
parent
48415f9ed0
commit
804738ba8a
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
#if defined(MAGIC_ENUM_NO_ASSERT)
|
||||
# define MAGIC_ENUM_ASSERT(...) static_cast<void>(0)
|
||||
#else
|
||||
#elif !defined(MAGIC_ENUM_ASSERT)
|
||||
# include <cassert>
|
||||
# define MAGIC_ENUM_ASSERT(...) assert((__VA_ARGS__))
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue