From 92de8bcca3ff3e3aa11c28190310f18950b49e0e Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Mon, 2 Dec 2024 14:37:15 +0100 Subject: Moved return type to data version --- modules/codec/c++/data.hpp | 4 ++-- 1 file 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 size() const { + return {sizeof...(T)}; } }; -- cgit v1.2.3