summaryrefslogtreecommitdiff
path: root/boost/mpi/packed_oarchive.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:30:07 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 10:32:57 +0900
commit71d216b90256936a9638f325af9bc69d720e75de (patch)
tree9c5f682d341c7c88ad0c8e3d4b262e00b6fb691a /boost/mpi/packed_oarchive.hpp
parent733b5d5ae2c5d625211e2985ac25728ac3f54883 (diff)
downloadboost-71d216b90256936a9638f325af9bc69d720e75de.tar.gz
boost-71d216b90256936a9638f325af9bc69d720e75de.tar.bz2
boost-71d216b90256936a9638f325af9bc69d720e75de.zip
Imported Upstream version 1.59.0
Change-Id: I2dde00f4eca71df3eea9d251dcaecde18a6c90a5 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/mpi/packed_oarchive.hpp')
-rw-r--r--boost/mpi/packed_oarchive.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/boost/mpi/packed_oarchive.hpp b/boost/mpi/packed_oarchive.hpp
index 887aeac6e3..c6c0173ae6 100644
--- a/boost/mpi/packed_oarchive.hpp
+++ b/boost/mpi/packed_oarchive.hpp
@@ -92,41 +92,41 @@ public:
// Save everything else in the usual way, forwarding on to the Base class
template<class T>
- void save_override(T const& x, int version, mpl::false_)
+ void save_override(T const& x, mpl::false_)
{
- archive::detail::common_oarchive<packed_oarchive>::save_override(x,version);
+ archive::detail::common_oarchive<packed_oarchive>::save_override(x);
}
// Save it directly using the primitives
template<class T>
- void save_override(T const& x, int /*version*/, mpl::true_)
+ void save_override(T const& x, mpl::true_)
{
oprimitive::save(x);
}
// Save all supported datatypes directly
template<class T>
- void save_override(T const& x, int version)
+ void save_override(T const& x)
{
typedef typename mpl::apply1<use_array_optimization,T>::type use_optimized;
- save_override(x, version, use_optimized());
+ save_override(x, use_optimized());
}
- // input archives need to ignore the optional information
- void save_override(const archive::class_id_optional_type & /*t*/, int){}
+ // output archives need to ignore the optional information
+ void save_override(const archive::class_id_optional_type & ){}
// explicitly convert to char * to avoid compile ambiguities
- void save_override(const archive::class_name_type & t, int){
+ void save_override(const archive::class_name_type & t){
const std::string s(t);
* this->This() << s;
}
- void save_override(archive::class_id_type & t, int version){
+ void save_override(const archive::class_id_type & t){
const boost::int_least16_t x = t;
* this->This() << x;
}
- void save_override(archive::version_type & t, int version){
+ void save_override(const archive::version_type & t){
const boost::int_least8_t x = t;
* this->This() << x;
}