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