Commit e5ba175f authored by Nicolas Michon's avatar Nicolas Michon

Fix HybridObject copy constructor

parent 53eaca81
......@@ -158,7 +158,7 @@ class HybridObject : public Object, public std::enable_shared_from_this<HybridOb
virtual ~HybridObject() {}
HybridObject() {}
HybridObject(const HybridObject<_CType, _CppType> &other) : Object(other) {}
HybridObject(const HybridObject<_CType, _CppType> &other) : Object(other), std::enable_shared_from_this<HybridObject<_CType, _CppType>> (other) {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment