aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/x509_ext.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/x509_ext.h b/include/x509_ext.h
index 2e7370fbd..13a58d7d5 100644
--- a/include/x509_ext.h
+++ b/include/x509_ext.h
@@ -50,14 +50,12 @@ class Extensions : public ASN1_Object
void add(Certificate_Extension* extn)
{ extensions.push_back(extn); }
- Extensions& operator=(const Extensions& e)
- { return copy_this(e); }
+ Extensions& operator=(const Extensions&);
+ Extensions(const Extensions&);
Extensions(bool st = true) : should_throw(st) {}
- Extensions(const Extensions& e) : ASN1_Object() { copy_this(e); }
~Extensions();
private:
- Extensions& copy_this(const Extensions&);
std::vector<Certificate_Extension*> extensions;
bool should_throw;
};