Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-05-27 13:45:05


Author: dgregor
Date: 2008-05-27 13:45:04 EDT (Tue, 27 May 2008)
New Revision: 45825
URL: http://svn.boost.org/trac/boost/changeset/45825

Log:
Fix MPI-Python compilation error with Intel 9.0+
Text files modified:
   branches/release/boost/mpi/python/serialize.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/mpi/python/serialize.hpp
==============================================================================
--- branches/release/boost/mpi/python/serialize.hpp (original)
+++ branches/release/boost/mpi/python/serialize.hpp 2008-05-27 13:45:04 EDT (Tue, 27 May 2008)
@@ -317,8 +317,8 @@
     template<typename T>
     struct default_saver {
       void operator()(OArchiver& ar, const object& obj, const unsigned int) {
- typedef typename mpl::if_<is_fundamental<T>, T, T&>::type Type;
- ar << extract<Type>(obj)();
+ T value = extract<T>(obj)();
+ ar << value;
       }
     };
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk