clean-up
This commit is contained in:
parent
ea3871026a
commit
6a1efd31c1
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ constexpr auto values() noexcept {
|
||||||
static_assert(range_size > 0, "nameof::enum_range requires valid size.");
|
static_assert(range_size > 0, "nameof::enum_range requires valid size.");
|
||||||
static_assert(range_size < (std::numeric_limits<std::uint16_t>::max)(), "nameof::enum_range requires valid size.");
|
static_assert(range_size < (std::numeric_limits<std::uint16_t>::max)(), "nameof::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, bool IsFlags = false>
|
template <typename E, bool IsFlags = false>
|
||||||
|
|
Loading…
Reference in a new issue