diff --git a/src/checkpoint/container/view_traverse_ndim.h b/src/checkpoint/container/view_traverse_ndim.h index b7d16b73..1e0f623e 100644 --- a/src/checkpoint/container/view_traverse_ndim.h +++ b/src/checkpoint/container/view_traverse_ndim.h @@ -131,7 +131,7 @@ struct TraverseRecurImplBase { template static CountType applyImpl( ViewT const& view, unsigned nd, TupleT idx, Callable call, - ViewIsTuple* x_ = nullptr + ViewIsTuple* = nullptr ) { auto const ex1 = std::get<0>(view).extent(nd-d); auto const ex2 = std::get<1>(view).extent(nd-d); @@ -149,7 +149,7 @@ struct TraverseRecurImplBase { template static CountType applyImpl( ViewT const& view, unsigned nd, TupleT idx, Callable call, - ViewNotTuple* x_ = nullptr + ViewNotTuple* = nullptr ) { CountType neq = 0; for (SizeType i = 0; i < view.extent(nd-d); i++) { @@ -204,7 +204,7 @@ struct TraverseRecurImpl { // Unwind the inner tuple for operator()(...) template static GetBaseType& expandTupleToOp( - ViewU const& view, TupleT tup, std::index_sequence idx + ViewU const& view, TupleT tup, std::index_sequence ) { return view.operator()(std::get(tup)...); } diff --git a/src/checkpoint/dispatch/reconstructor.h b/src/checkpoint/dispatch/reconstructor.h index f35f71d1..d3c76c58 100644 --- a/src/checkpoint/dispatch/reconstructor.h +++ b/src/checkpoint/dispatch/reconstructor.h @@ -67,7 +67,7 @@ struct Reconstructor { // Fail, no valid option to constructing T template - static T* constructDefault(void* buf, isNotDefaultConsType* = nullptr) { + static T* constructDefault(void*, isNotDefaultConsType* = nullptr) { static_assert( SerializableTraits::is_tagged_constructible or SerializableTraits::is_reconstructible or