Skip to content

Commit

Permalink
clang-format: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Nov 28, 2023
1 parent c4ff6ee commit 3546c5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/src/ComparisonUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ inline bool nanSafeComp(T x, U y)

// Only enable for vectors
template<typename T, typename = void>
struct has_size_method : std::false_type {};
struct has_size_method : std::false_type {
};

template<typename T>
struct has_size_method<T, std::void_t<decltype(std::declval<T>().size())>> : std::true_type {};
struct has_size_method<T, std::void_t<decltype(std::declval<T>().size())>> : std::true_type {
};

template<typename T, typename... Ts>
constexpr bool isAnyOf = (std::is_same_v<T, Ts> || ...);
Expand Down

0 comments on commit 3546c5a

Please sign in to comment.