mirror of
https://github.com/boostorg/mpi.git
synced 2026-02-25 04:22:17 +00:00
Remove unused parameter warnings from reduce.hpp
This commit is contained in:
@@ -46,7 +46,7 @@ namespace detail {
|
||||
template<typename T, typename Op>
|
||||
void
|
||||
reduce_impl(const communicator& comm, const T* in_values, int n,
|
||||
T* out_values, Op op, int root, mpl::true_ /*is_mpi_op*/,
|
||||
T* out_values, Op /*op*/, int root, mpl::true_ /*is_mpi_op*/,
|
||||
mpl::true_/*is_mpi_datatype*/)
|
||||
{
|
||||
BOOST_MPI_CHECK_RESULT(MPI_Reduce,
|
||||
@@ -59,7 +59,7 @@ namespace detail {
|
||||
// datatype and operation, so we'll use MPI_Reduce directly.
|
||||
template<typename T, typename Op>
|
||||
void
|
||||
reduce_impl(const communicator& comm, const T* in_values, int n, Op op,
|
||||
reduce_impl(const communicator& comm, const T* in_values, int n, Op /*op*/,
|
||||
int root, mpl::true_ /*is_mpi_op*/, mpl::true_/*is_mpi_datatype*/)
|
||||
{
|
||||
BOOST_MPI_CHECK_RESULT(MPI_Reduce,
|
||||
|
||||
Reference in New Issue
Block a user