Commit f2f59897 authored by Martin Heistermann's avatar Martin Heistermann

BaseProperty cleanup: explicitly define destructor in its own translation...

BaseProperty cleanup: explicitly define destructor in its own translation unit, avoid duplicated vtables
parent b94ca35b
Pipeline #10421 passed with stage
in 4 minutes and 2 seconds
......@@ -32,18 +32,11 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 36 $ *
* $Date: 2012-01-10 18:00:06 +0100 (Di, 10 Jan 2012) $ *
* $LastChangedBy: kremer $ *
* *
\*===========================================================================*/
#include "BaseProperty.hh"
#include "ResourceManager.hh"
namespace OpenVolumeMesh {
// define this here to emit a vtable only in this translation unit
BaseProperty::~BaseProperty() = default;
} // Namespace OpenVolumeMesh
......@@ -63,7 +63,7 @@ public:
BaseProperty& operator=(const BaseProperty& _cpy) = delete;
virtual ~BaseProperty() {}
virtual ~BaseProperty();
virtual const std::string& name() const = 0;
......
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