Commit 73f2f6dd authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'use-ovm-copy-constructor' into 'master'

Use new ovm copy constructor instead of copying the pointer

See merge request !8
parents 148efd27 f72d9cc2
......@@ -72,7 +72,7 @@
template<class MeshT>
VolumeMeshObject<MeshT>::VolumeMeshObject(const VolumeMeshObject& _object) :
BaseObjectData(_object), mesh_(_object.mesh_.get()),
BaseObjectData(_object), mesh_(std::make_shared<MeshT>(*_object.mesh_.get())),
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