Skip to content

Commit b845885

Browse files
committed
drop redundant check
1 parent 4e76a04 commit b845885

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/rsl/enum

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ template <typename T>
1919
concept fixed_enum = std::is_enum_v<T> and requires { T{0}; };
2020

2121
consteval bool has_fixed_underlying_type(std::meta::info r) {
22-
return is_type(r) and is_enum_type(r) and extract<bool>(substitute(^^fixed_enum, {r}));
22+
return is_type(r) and extract<bool>(substitute(^^fixed_enum, {r}));
2323
}
2424

2525
template <is_flag_enum E>

0 commit comments

Comments
 (0)