Skip to content

Commit

Permalink
This should be fine, there is no packing here
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Sep 26, 2023
1 parent 2a69d18 commit d44cf18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/util/serialise/serialise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ namespace {
struct TriviallyCopyable {
uint8_t a;
int8_t b;
uint8_t c[2];
std::array<uint8_t, 2> c;

bool operator==(const TriviallyCopyable& rhs) const {
return a == rhs.a && b == rhs.b && c[0] == rhs.c[0] && c[1] == rhs.c[1];
Expand Down

0 comments on commit d44cf18

Please sign in to comment.