summaryrefslogtreecommitdiff
path: root/boost/mpi/detail/forward_skeleton_oarchive.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/mpi/detail/forward_skeleton_oarchive.hpp')
-rw-r--r--boost/mpi/detail/forward_skeleton_oarchive.hpp17
1 files changed, 6 insertions, 11 deletions
diff --git a/boost/mpi/detail/forward_skeleton_oarchive.hpp b/boost/mpi/detail/forward_skeleton_oarchive.hpp
index 6aab0538ab..4b0e057266 100644
--- a/boost/mpi/detail/forward_skeleton_oarchive.hpp
+++ b/boost/mpi/detail/forward_skeleton_oarchive.hpp
@@ -9,8 +9,6 @@
#ifndef BOOST_MPI_DETAIL_FORWARD_SKELETON_OARCHIVE_HPP
#define BOOST_MPI_DETAIL_FORWARD_SKELETON_OARCHIVE_HPP
-#include <boost/serialization/pfto.hpp>
-
#include <boost/archive/detail/auto_link_archive.hpp>
#include <boost/archive/detail/oserializer.hpp>
#include <boost/archive/detail/interface_oarchive.hpp>
@@ -41,17 +39,14 @@ public:
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_FORWARD_IMPLEMENTATION(T) \
- void save_override(T const & t , int) \
+ void save_override(T const & t) \
{ \
implementation_archive << t; \
}