refs #800 Fixed warning: deprecated implicit copy ctor/assign with user-declared dtor (rule of zero).

This commit is contained in:
Mathew Sutcliffe
2016-11-10 00:55:35 +00:00
committed by Klaus Basan
parent a44ffcbe79
commit 3351b1f8e1
4 changed files with 15 additions and 6 deletions

View File

@@ -538,6 +538,9 @@ namespace BlackMisc
class PimplBase
{
public:
PimplBase() {}
PimplBase(const PimplBase &) = default;
PimplBase &operator =(const PimplBase &) = delete;
virtual ~PimplBase() {}
virtual PimplBase *clone() const = 0;
virtual PimplBase *cloneEmpty() const = 0;