Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Apr 30, 2024
1 parent 38630e7 commit e703d1f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/src/Kokkos_Swap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@ namespace Impl {
template <class T>
struct is_swappable {
template <class U>
KOKKOS_FUNCTION
static decltype(kokkos_swap(std::declval<T&>(), std::declval<T&>()))
KOKKOS_FUNCTION static decltype(kokkos_swap(std::declval<T&>(),
std::declval<T&>()))
test_swap(int);
struct Nope;
template <class U>
KOKKOS_FUNCTION
static Nope test_swap(long);
KOKKOS_FUNCTION static Nope test_swap(long);
static constexpr bool value =
!std::is_same_v<decltype(test_swap<T>(0)), Nope>;
};
Expand Down

0 comments on commit e703d1f

Please sign in to comment.