From 270a5ca411284820d73b00f295bd304ab3094f94 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 22 Apr 2025 11:33:52 +0200 Subject: Added copy for now --- modules/codec-unit/c++/unit.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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& dat__): + dat_{dat__} + {} + data(data&& dat__): dat_{std::move(dat__)} {} -- cgit v1.2.3