Commit 56777c36 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'delete-broken-operator' into 'master'

Delete broken operators

See merge request !49
parents 4cea26e1 5a51963f
Pipeline #8715 passed with stage
in 9 minutes and 42 seconds
......@@ -46,10 +46,4 @@
namespace OpenVolumeMesh {
BaseProperty& BaseProperty::operator=(const BaseProperty& _cpy) {
resMan_ = _cpy.resMan_;
lock_ = _cpy.lock_;
return *this;
}
} // Namespace OpenVolumeMesh
......@@ -59,7 +59,7 @@ public:
BaseProperty(const BaseProperty& _cpy) : resMan_(_cpy.resMan_), lock_(_cpy.lock_) {}
BaseProperty& operator=(const BaseProperty& _cpy);
BaseProperty& operator=(const BaseProperty& _cpy) = delete;
virtual ~BaseProperty() {}
......
......@@ -77,6 +77,8 @@ class ResourceManager {
public:
ResourceManager();
ResourceManager(const ResourceManager &other);
ResourceManager& operator=(const ResourceManager &other) = delete;
virtual ~ResourceManager();
template <class PropT, class HandleT> friend class PropertyPtr;
......
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