aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-07 05:18:57 +0000
committerlloyd <[email protected]>2008-04-07 05:18:57 +0000
commit29885981670e06413738458c11f632c5b87bb031 (patch)
treec6ab16b32b9673b5dc9c9709e73c09e50d12b3aa /include
parent4191064d79916508e531c4f28ddb244527f64d5c (diff)
Remove Extensions::copy_this(). Define the Extensions copy constructor in
terms of Extensions::operator=
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;
};