diff options
Diffstat (limited to 'serialize/packbits.cpp')
-rw-r--r-- | serialize/packbits.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/serialize/packbits.cpp b/serialize/packbits.cpp index 701cc121..1428b203 100644 --- a/serialize/packbits.cpp +++ b/serialize/packbits.cpp @@ -12,10 +12,10 @@ constexpr bool test1() constexpr size_t bits[] = { 5, 2, 1, 0 }; constexpr size_t vals[] = { 3, 1, 0 }; - constexpr auto S0 = Storage<uint8_t, 8>{0b10111011uz}; - constexpr auto S1 = Storage<uint8_t, bits[0]>{0b00000101uz}; - constexpr auto S2 = Storage<uint8_t, bits[1]>{0b00000001uz}; - constexpr auto S3 = Storage<uint8_t, bits[2]>{0b00000000uz}; + constexpr auto S0 = Storage<uint8_t, 8>{0b10111011}; + constexpr auto S1 = Storage<uint8_t, bits[0]>{0b00000101}; + constexpr auto S2 = Storage<uint8_t, bits[1]>{0b00000001}; + constexpr auto S3 = Storage<uint8_t, bits[2]>{0b00000000}; using P0 = std::decay_t<decltype(S0)>; using P1 = P0::next<bits[0]>; |