Skip to content

Commit

Permalink
updated to newest 0.7-dev changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-dozier committed Jul 31, 2024
1 parent d547df0 commit 28b76c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_cereal_boost_container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
#include <boost/container/vector.hpp>

#include <ygm/detail/assert.hpp>
#include <ygm/detail/byte_vector.hpp>
#include <ygm/detail/cereal_boost_container.hpp>
#include <ygm/detail/ygm_cereal_archive.hpp>

int main() {
// Currently, we only support boost::container::vector

boost::container::vector<int> original_value = {1, 2, 3, 4, 5};
std::vector<std::byte> cereal_buffer;
ygm::detail::byte_vector cereal_buffer;
{
cereal::YGMOutputArchive archive(cereal_buffer);
archive(original_value);
Expand Down

0 comments on commit 28b76c0

Please sign in to comment.