summaryrefslogtreecommitdiff
path: root/boost/mpi/detail/ignore_skeleton_oarchive.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/mpi/detail/ignore_skeleton_oarchive.hpp')
-rw-r--r--boost/mpi/detail/ignore_skeleton_oarchive.hpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/boost/mpi/detail/ignore_skeleton_oarchive.hpp b/boost/mpi/detail/ignore_skeleton_oarchive.hpp
index 06a6bd59ca..29248f993d 100644
--- a/boost/mpi/detail/ignore_skeleton_oarchive.hpp
+++ b/boost/mpi/detail/ignore_skeleton_oarchive.hpp
@@ -9,8 +9,6 @@
#ifndef BOOST_MPI_DETAIL_IGNORE_SKELETON_OARCHIVE_HPP
#define BOOST_MPI_DETAIL_IGNORE_SKELETON_OARCHIVE_HPP
-#include <boost/serialization/pfto.hpp>
-
#include <boost/archive/detail/auto_link_archive.hpp>
#include <boost/archive/detail/common_oarchive.hpp>
#include <boost/archive/basic_archive.hpp>
@@ -38,18 +36,14 @@ public:
friend class archive::save_access;
protected:
#endif
-
- // intermediate level to support override of operators
- // for templates in the absence of partial function
- // template ordering
- template<class T>
- void save_override(T const& t, BOOST_PFTO int)
- {
- archive::save(* this->This(), t);
- }
+ template<class T>
+ void save_override(T const& t)
+ {
+ archive::save(* this->This(), t);
+ }
#define BOOST_ARCHIVE_IGNORE_IMPLEMENTATION(T) \
- void save_override(T const & , int) \
+ void save_override(T const &) \
{}
BOOST_ARCHIVE_IGNORE_IMPLEMENTATION(archive::class_id_optional_type)