Skip to content

Commit

Permalink
#333: warnings: more warning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Apr 9, 2024
1 parent 6cdfc42 commit a749a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/checkpoint/container/view_traverse_ndim.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,15 @@ struct TraverseRecurImpl {
// Test whether the ViewT is actually a std::tuple<Kokkos::View<T>...>
template <typename U = ViewT>
static bool dispatchViewType(
ViewT const& view, Callable call, TupleT tup, ViewIsTuple<U>* x_ = nullptr
ViewT const& view, Callable call, TupleT tup, ViewIsTuple<U>* = nullptr
) {
constexpr auto size = std::tuple_size<ViewT>::value;
return dispatchViewTuple(view,call,tup,std::make_index_sequence<size>{});
}

template <typename U = ViewT>
static bool dispatchViewType(
ViewT const& view, Callable call, TupleT tup, ViewNotTuple<U>* x_ = nullptr
ViewT const& view, Callable call, TupleT tup, ViewNotTuple<U>* = nullptr
) {
call(expandTupleToOp(view,tup));
return true;
Expand Down

0 comments on commit a749a69

Please sign in to comment.