Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Aug 1, 2023
1 parent 36ba494 commit e5ed8c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/struct_pack/tests/test_pragma_pack_and_alignas_mix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ TEST_CASE("testing mix and compatible nested") {
CHECK(literal == val);
}
test_pragma_pack_and_alignas_and_compatible_mix::dummy_2_4_v1 v1 = {
.a = 1, .b = 123321};
1, 123321};
test_pragma_pack_and_alignas_and_compatible_mix::dummy_2_4_v2 v2 = {
.a = 1, .c = std::nullopt, .b = 123321};
1, std::nullopt, 123321};
{
auto buffer = struct_pack::serialize(v1);
auto result = struct_pack::deserialize<
Expand Down

0 comments on commit e5ed8c0

Please sign in to comment.