Disallow copy-construction of BCertificate.
* Prevents accidential creation of multiple instances with ownership of same fPrivate.
This commit is contained in:
parent
c2d994b00e
commit
dad49763d8
@ -26,6 +26,9 @@ private:
|
||||
class Private;
|
||||
BCertificate(Private* data);
|
||||
|
||||
BCertificate(const BCertificate& other);
|
||||
// copy-construction not allowed
|
||||
|
||||
Private* fPrivate;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user