From 27893126b68141ebf9dff11e8a69ac75f656ccc1 Mon Sep 17 00:00:00 2001 From: Matthias Troyer Date: Sun, 18 Oct 2009 16:03:46 +0000 Subject: [PATCH] replaced MPL_ASSERT by STATIS_ASSERT because of gcc-4.4 bug [SVN r56978] --- include/boost/mpi/detail/mpi_datatype_oarchive.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/mpi/detail/mpi_datatype_oarchive.hpp b/include/boost/mpi/detail/mpi_datatype_oarchive.hpp index ef6ff40..7079f21 100644 --- a/include/boost/mpi/detail/mpi_datatype_oarchive.hpp +++ b/include/boost/mpi/detail/mpi_datatype_oarchive.hpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -61,7 +62,7 @@ public: { // select the right sized integer for the enum typedef typename boost::uint_t<8*sizeof(T)>::least int_type; - BOOST_MPL_ASSERT((sizeof(T)==sizeof(int_type))); + BOOST_STATIC_ASSERT((sizeof(T)==sizeof(int_type))); this->save(*reinterpret_cast(&t)); }