summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-04-22 11:33:52 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-04-22 11:33:52 +0200
commit270a5ca411284820d73b00f295bd304ab3094f94 (patch)
tree6f4b7dc26dec529632f1690f04c7bed8592e5c21 /modules
parent0d32f9b2c73690fa188d0f5920dfa9cbe3005200 (diff)
Added copy for now
Diffstat (limited to 'modules')
-rw-r--r--modules/codec-unit/c++/unit.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/codec-unit/c++/unit.hpp b/modules/codec-unit/c++/unit.hpp
index 227fdf2..c8a54ab 100644
--- a/modules/codec-unit/c++/unit.hpp
+++ b/modules/codec-unit/c++/unit.hpp
@@ -15,6 +15,10 @@ private:
public:
data() = default;
+ data(const data<BaseSchema, encode::Native>& dat__):
+ dat_{dat__}
+ {}
+
data(data<BaseSchema, encode::Native>&& dat__):
dat_{std::move(dat__)}
{}