Skip to content

Commit

Permalink
Add support for overriding MAGIC_ENUM_ASSERT (Neargye#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinboswell authored Dec 6, 2023
1 parent 48415f9 commit 804738b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/magic_enum/magic_enum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 804738b

Please sign in to comment.