summaryrefslogtreecommitdiff
path: root/modules/codec/c++
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++')
-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 a750e1e..4289ed8 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -591,7 +591,7 @@ private:
public:
data() = default;
- data(data<MetaSchema, encode::Native> init) requires (not std::is_same_v<MetaSchema,Schema>) {
+ data(const 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));
}