mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
Remove redundant instantiation (#211)
This commit is contained in:
parent
1a57977ea3
commit
1b1194bcd5
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ constexpr auto values() noexcept {
|
|||
static_assert(range_size > 0, "magic_enum::enum_range requires valid size.");
|
||||
static_assert(range_size < (std::numeric_limits<std::uint16_t>::max)(), "magic_enum::enum_range requires valid size.");
|
||||
|
||||
return values<E, IsFlags, reflected_min_v<E, IsFlags>>(std::make_index_sequence<range_size>{});
|
||||
return values<E, IsFlags, min>(std::make_index_sequence<range_size>{});
|
||||
}
|
||||
|
||||
template <typename E, typename U = std::underlying_type_t<E>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue