-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: adapt to renaming of serialization::array_wrapper #30
Conversation
Commit e3b67eb299b070edb32c2eb5da76653b4ed9cf5e in Boost.Serialization renames serialization::array to serialization::array_wrapper.
@@ -42,7 +42,7 @@ class forward_iprimitive | |||
|
|||
/// loading of arrays is forwarded to the implementation archive | |||
template<class T> | |||
void load_array(serialization::array<T> & x, unsigned int file_version ) | |||
void load_array(serialization::array_wrappe<T> & x, unsigned int file_version ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing 'r'? Is this code exercised by any tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On 25/04/2016 09:17, Vladimir Prus wrote:
In include/boost/mpi/detail/forward_iprimitive.hpp
#30 (comment):@@ -42,7 +42,7 @@ class forward_iprimitive
/// loading of arrays is forwarded to the implementation archive template<class T>
- void load_array(serialization::array & x, unsigned int file_version )
- void load_array(serialization::array_wrappe & x, unsigned int file_version )
Missing 'r'? Is this code exercised by any tests?
Does not ring any bell. Wasn't even aware serialization arrays were
renamed or handled.
Alain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is obviously not exercised. The tests are all green if the patch is applied. So I guess test is needed then.
Applied patch e4be441 to fix this as it could impact users. I'll add a ticket to add a test to exercise this code. |
Fix: adapt to renaming of serialization::array_wrapper Tested that both graph_parallel and MPI work fine with El Capitan and clang, thanks for the patch!
Fix my previous cherry-picks with a whitespace change to force the merge. * doc: Fix typos * Fix: adapt to renaming of serialization::array_wrapper (#30) Fix: adapt to renaming of serialization::array_wrapper Tested that both graph_parallel and MPI work fine with El Capitan and clang, thanks for the patch! * Fix typo with rename to array_wrapper. * Whitespace change.
Commit e3b67eb299b070edb32c2eb5da76653b4ed9cf5e in Boost.Serialization
renames serialization::array to serialization::array_wrapper.