diff options
Diffstat (limited to 'boost/mpi/datatype.hpp')
-rw-r--r-- | boost/mpi/datatype.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/mpi/datatype.hpp b/boost/mpi/datatype.hpp index 2da0d6cf5e..6e104c19aa 100644 --- a/boost/mpi/datatype.hpp +++ b/boost/mpi/datatype.hpp @@ -27,6 +27,7 @@ #include <boost/mpi/detail/mpi_datatype_cache.hpp> #include <boost/mpl/assert.hpp> #include <boost/archive/basic_archive.hpp> +#include <boost/serialization/library_version_type.hpp> #include <boost/serialization/item_version_type.hpp> #include <utility> // for std::pair @@ -140,7 +141,7 @@ struct is_mpi_builtin_datatype * be accessible via @c get_mpi_datatype. * For any C++ type that maps to a built-in MPI data type (see @c - * is_mpi_builtin_datatype), @c is_mpi_data_type is trivially + * is_mpi_builtin_datatype), @c is_mpi_datatype is trivially * true. However, any POD ("Plain Old Data") type containing types * that themselves can be represented by MPI data types can itself be * represented as an MPI data type. For instance, a @c point3d class @@ -344,7 +345,7 @@ struct is_mpi_datatype<bool> #ifndef BOOST_MPI_DOXYGEN // direct support for special primitive data types of the serialization library -BOOST_MPI_DATATYPE(boost::archive::library_version_type, get_mpi_datatype(uint_least16_t()), integer); +BOOST_MPI_DATATYPE(boost::serialization::library_version_type, get_mpi_datatype(uint_least16_t()), integer); BOOST_MPI_DATATYPE(boost::archive::version_type, get_mpi_datatype(uint_least8_t()), integer); BOOST_MPI_DATATYPE(boost::archive::class_id_type, get_mpi_datatype(int_least16_t()), integer); BOOST_MPI_DATATYPE(boost::archive::class_id_reference_type, get_mpi_datatype(int_least16_t()), integer); |