summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-08-05 11:11:40 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-08-05 11:11:40 +0200
commit97ae1a8f23074fea3784a008921c5d9fc3c1e8fb (patch)
treed87e786e4d7a9b21e07f3815bc169a699ac2547c
parent8c2dd91b940d88451377a902bd4fd5535ac7d623 (diff)
downloadforstio-forstio-dev.tar.gz
clang22 issues fixeddev
-rw-r--r--modules/codec/c++/data.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp
index 4289ed8..c43402e 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -522,7 +522,7 @@ public:
* Default constructor.
*/
data() = default;
- data(data<MetaSchema, encode::Native> init){
+ data(const data<MetaSchema, encode::Native>& init)requires(not std::is_same_v<Schema,MetaSchema>){
if constexpr ( 0u < sizeof...(T) ){
init_helper<0u>::apply(value_, std::move(init));
}