Disallow copy-construction of BCertificate.

* Prevents accidential creation of multiple instances with
  ownership of same fPrivate.
This commit is contained in:
Julian Harnath 2014-02-22 10:59:04 +00:00
parent c2d994b00e
commit dad49763d8
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}; };