diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-05 10:32:56 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-05 10:32:56 +0200 |
| commit | d2f1e85c2c8646156117e2bd686ffea5f31cdc86 (patch) | |
| tree | 7550934ff42bb811a913b5da7f9f747bf0b182f5 /modules | |
| parent | 4bde4893c9ab3a0d09570946b67734751bc84408 (diff) | |
| download | forstio-forstio-d2f1e85c2c8646156117e2bd686ffea5f31cdc86.tar.gz | |
Fixing a mixup if MetaSchema and Schema are identical
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/codec/c++/data.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<MetaSchema, encode::Native>& init){ + + data(data<MetaSchema, encode::Native> init) requires (not std::is_same_v<MetaSchema,Schema>) { if constexpr ( 0u < sizeof...(T) ){ init_helper<0u>::apply(value_, std::move(init)); } |
