We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ad3aa commit 42403acCopy full SHA for 42403ac
cpp/log/cert.h
@@ -30,6 +30,7 @@ class Cert {
30
// Will return null if |x509| is null.
31
static std::unique_ptr<Cert> FromX509(ScopedX509 x509);
32
33
+ Cert() = delete;
34
Cert(const Cert&) = delete;
35
Cert& operator=(const Cert&) = delete;
36
@@ -198,7 +199,6 @@ class Cert {
198
199
private:
200
// Will CHECK-fail if |x509| is null.
201
explicit Cert(ScopedX509 x509);
- Cert() = delete;
202
203
util::StatusOr<int> ExtensionIndex(int extension_nid) const;
204
util::StatusOr<X509_EXTENSION*> GetExtension(int extension_nid) const;
0 commit comments