Skip to content

Conversation

@benjamin0
Copy link
Contributor

I needed to revert this line for the cereal::BinaryInputArchive() to work. Do we still need it for the JSON archive?

@benjamin0 benjamin0 requested a review from akleeman August 20, 2018 17:32
@akleeman
Copy link
Contributor

I would guess that we do need it still ... though if the tests pass I think you're good to go.

@benjamin0 benjamin0 changed the title Revert =-2 off of storage size? Specialize adjust_storage_size() so it works correctly for cereal::JSONInputArchive. Aug 20, 2018
@benjamin0 benjamin0 force-pushed the ben/size-off-by-2 branch 2 times, most recently from 0ab5782 to 8eddf7a Compare August 20, 2018 22:31
@akleeman
Copy link
Contributor

Awesome looks good. Merge away.

If you want to be sure everything will always serialize to binary you could add another test to test_serialize along the lines of TYPED_TEST(PolymorphicSerializeTest, test_roundtrip_serialize) that roundtrips via Binary.

Overload `adjust_storage_size()` so it works correctly for
cereal::JSONInputArchive.
@benjamin0
Copy link
Contributor Author

closing in favor of #50

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.

3 participants