diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-12-02 14:37:15 +0100 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-12-02 14:37:15 +0100 |
commit | 92de8bcca3ff3e3aa11c28190310f18950b49e0e (patch) | |
tree | 4207a669df2f8f203941c4bef6734890f36e56be /modules | |
parent | 2646d09d99e40446852dc2a5205adde79b878244 (diff) |
Moved return type to data version
Diffstat (limited to 'modules')
-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)}; } }; |