2
0
mirror of https://github.com/boostorg/mpi.git synced 2026-02-25 04:22:17 +00:00

Merge MPI-Python fix for Intel C++ from release branch. Yes, I did this backwards.

[SVN r45827]
This commit is contained in:
Douglas Gregor
2008-05-27 17:51:11 +00:00
parent c9da321861
commit dd5f08605f

View File

@@ -317,8 +317,8 @@ namespace detail {
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;
}
};