mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #800 Fixed warning: deprecated implicit copy ctor/assign with user-declared dtor (rule of zero).
This commit is contained in:
committed by
Klaus Basan
parent
a44ffcbe79
commit
3351b1f8e1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user