Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Neargye committed Jan 1, 2024
1 parent c7a793d commit 9565965
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 @@ -871,7 +871,7 @@ inline constexpr bool is_sparse_v = is_sparse<E, S>();

template <typename E, enum_subtype S>
struct is_reflected
#if defined(MAGIC_ENUM_NO_CHECK_VALID_ENUM_TYPE)
#if defined(MAGIC_ENUM_NO_CHECK_REFLECTED_ENUM)
: std::true_type {};
#else
: std::bool_constant<std::is_enum_v<E> && (count_v<E, S> != 0)> {};
Expand Down

0 comments on commit 9565965

Please sign in to comment.