Commit aebc2089 authored by Martin Heistermann's avatar Martin Heistermann

Properties: use partial template specialization.

Avoid a lot of code duplication.

Also change constructor _def param to a const&, which was only in
the std::string specialization before, but makes sense everywhere.
parent 9ec8ccad
Pipeline #8871 failed with stage
in 2 minutes and 52 seconds
......@@ -75,9 +75,7 @@ public:
name_(_name), persistent_(false), handle_(-1) {
OpenVolumeMeshBaseProperty(const OpenVolumeMeshBaseProperty& _rhs) :
name_(_rhs.name_), persistent_(_rhs.persistent_), handle_(_rhs.handle_.idx()) {
OpenVolumeMeshBaseProperty(const OpenVolumeMeshBaseProperty& _rhs) = default;
virtual ~OpenVolumeMeshBaseProperty() {}
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