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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user