From d44cf1890e24e5ee28c7969629076a7162712718 Mon Sep 17 00:00:00 2001 From: Trent Houliston Date: Tue, 26 Sep 2023 17:15:44 +1000 Subject: [PATCH] This should be fine, there is no packing here --- tests/util/serialise/serialise.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/serialise/serialise.cpp b/tests/util/serialise/serialise.cpp index b8759ab73..2955b0f39 100644 --- a/tests/util/serialise/serialise.cpp +++ b/tests/util/serialise/serialise.cpp @@ -173,7 +173,7 @@ namespace { struct TriviallyCopyable { uint8_t a; int8_t b; - uint8_t c[2]; + std::array c; bool operator==(const TriviallyCopyable& rhs) const { return a == rhs.a && b == rhs.b && c[0] == rhs.c[0] && c[1] == rhs.c[1];