From cf34ddca8ef7d75f864fa51ee42fda9642cdfb1a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jan 2024 10:43:51 +0100 Subject: a --- serialize/packbits.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/serialize/packbits.hpp b/serialize/packbits.hpp index c052369a..e730770f 100644 --- a/serialize/packbits.hpp +++ b/serialize/packbits.hpp @@ -32,6 +32,8 @@ template struct Storage { static_assert(CAPACITY <= sizeof(T)*8); + + using Type = T; static constexpr size_t Capacity = CAPACITY; T value; @@ -61,6 +63,7 @@ struct Storage template struct Storage { + using Type = T; static constexpr size_t Capacity = 0; T value; -- cgit v1.2.3