Skip to content
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

Merged
merged 1 commit into from
Apr 24, 2016
Merged

Fix: adapt to renaming of serialization::array_wrapper #30

merged 1 commit into from
Apr 24, 2016

Conversation

jhunold
Copy link
Contributor

@jhunold jhunold commented Dec 7, 2015

Commit e3b67eb299b070edb32c2eb5da76653b4ed9cf5e in Boost.Serialization
renames serialization::array to serialization::array_wrapper.

Commit e3b67eb299b070edb32c2eb5da76653b4ed9cf5e in Boost.Serialization
renames serialization::array to serialization::array_wrapper.
@Belcourt Belcourt merged commit c70e7ff into boostorg:develop Apr 24, 2016
@@ -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 )
Copy link
Contributor

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?

Copy link
Member

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

Copy link
Contributor Author

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.

@jhunold jhunold deleted the fix_serialization branch April 25, 2016 09:29
@Belcourt
Copy link
Member

Applied patch e4be441 to fix this as it could impact users. I'll add a ticket to add a test to exercise this code.

Belcourt pushed a commit that referenced this pull request Apr 26, 2016
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!
Belcourt added a commit that referenced this pull request Apr 27, 2016
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants