diff options
Diffstat (limited to 'modules/codec')
-rw-r--r-- | modules/codec/c++/data.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 4651083..ea881fd 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -525,8 +525,8 @@ public: /** * Return the amount of members. */ - constexpr uint64_t size() const { - return sizeof...(T); + constexpr data<schema::UInt64, encode::Native> size() const { + return {sizeof...(T)}; } }; |