From d2f1e85c2c8646156117e2bd686ffea5f31cdc86 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 5 Aug 2026 10:32:56 +0200 Subject: Fixing a mixup if MetaSchema and Schema are identical --- modules/codec/c++/data.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/codec/c++') diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index afcf382..a750e1e 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -590,7 +590,8 @@ private: }; public: data() = default; - data(const data& init){ + + data(data init) requires (not std::is_same_v) { if constexpr ( 0u < sizeof...(T) ){ init_helper<0u>::apply(value_, std::move(init)); } -- cgit v1.2.3