Skip to content

Commit 699df9d

Browse files
committed
Removed needless {}
1 parent 98f6dd4 commit 699df9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpp2util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ constexpr auto operator_as( std::variant<Ts...> const& x ) -> auto&& {
593593

594594
// A helper for is...
595595
template <class T, class... Ts>
596-
inline constexpr auto is_any = std::disjunction_v<std::is_same<T, Ts>...> {};
596+
inline constexpr auto is_any = std::disjunction_v<std::is_same<T, Ts>...>;
597597

598598
template<typename T, typename... Ts>
599599
auto is( std::variant<Ts...> const& x ) {

0 commit comments

Comments
 (0)