mirror of
https://github.com/boostorg/mpi.git
synced 2026-02-25 04:22:17 +00:00
Silence -Wunused warnings and switch to boost/serialization/pfto.hpp
[SVN r48610]
This commit is contained in:
@@ -27,7 +27,7 @@ namespace detail {
|
||||
template<typename T, typename Op>
|
||||
void
|
||||
all_reduce_impl(const communicator& comm, const T* in_values, int n,
|
||||
T* out_values, Op op, mpl::true_ /*is_mpi_op*/,
|
||||
T* out_values, Op /*op*/, mpl::true_ /*is_mpi_op*/,
|
||||
mpl::true_ /*is_mpi_datatype*/)
|
||||
{
|
||||
BOOST_MPI_CHECK_RESULT(MPI_Allreduce,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef BOOST_MPI_DETAIL_FORWARD_SKELETON_IARCHIVE_HPP
|
||||
#define BOOST_MPI_DETAIL_FORWARD_SKELETON_IARCHIVE_HPP
|
||||
|
||||
#include <boost/pfto.hpp>
|
||||
#include <boost/serialization/pfto.hpp>
|
||||
|
||||
#include <boost/archive/detail/auto_link_archive.hpp>
|
||||
#include <boost/archive/detail/iserializer.hpp>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef BOOST_MPI_DETAIL_FORWARD_SKELETON_OARCHIVE_HPP
|
||||
#define BOOST_MPI_DETAIL_FORWARD_SKELETON_OARCHIVE_HPP
|
||||
|
||||
#include <boost/pfto.hpp>
|
||||
#include <boost/serialization/pfto.hpp>
|
||||
|
||||
#include <boost/archive/detail/auto_link_archive.hpp>
|
||||
#include <boost/archive/detail/oserializer.hpp>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef BOOST_MPI_DETAIL_IGNORE_SKELETON_OARCHIVE_HPP
|
||||
#define BOOST_MPI_DETAIL_IGNORE_SKELETON_OARCHIVE_HPP
|
||||
|
||||
#include <boost/pfto.hpp>
|
||||
#include <boost/serialization/pfto.hpp>
|
||||
|
||||
#include <boost/archive/detail/auto_link_archive.hpp>
|
||||
#include <boost/archive/detail/common_oarchive.hpp>
|
||||
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
|
||||
// Load it directly using the primnivites
|
||||
template<class T>
|
||||
void load_override(T& x, int version, mpl::true_)
|
||||
void load_override(T& x, int /*version*/, mpl::true_)
|
||||
{
|
||||
iprimitive::load(x);
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ public:
|
||||
|
||||
// Save it directly using the primnivites
|
||||
template<class T>
|
||||
void save_override(T const& x, int version, mpl::true_)
|
||||
void save_override(T const& x, int /*version*/, mpl::true_)
|
||||
{
|
||||
oprimitive::save(x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user