diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 07:48:51 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-13 07:48:51 +0100 |
| commit | 4766b404d5fa96fbb23a121cbe01336d1eb7dd29 (patch) | |
| tree | 46f8f342b6b8c1b7e5093e36e712ca1597a4a528 /serialize | |
| parent | d87c0cb28720610ca7483f2d8de0613f583dc354 (diff) | |
fix msvc
Diffstat (limited to 'serialize')
| -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]>; |
