Skip to content

Commit

Permalink
require without brace
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
  • Loading branch information
TonyXiang8787 committed Jul 13, 2023
1 parent d9de483 commit dd5c5dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct ctype_t<RealValue<false>> {
static constexpr CType value = CType::c_double3;
};
template <class T>
requires(std::is_enum_v<T>) struct ctype_t<T> : ctype_t<std::underlying_type_t<T>> {
requires std::is_enum_v<T> struct ctype_t<T> : ctype_t<std::underlying_type_t<T>> {
};
template <class T>
constexpr CType ctype_v = ctype_t<T>::value;
Expand Down

0 comments on commit dd5c5dc

Please sign in to comment.