diff options
author | lloyd <[email protected]> | 2009-11-17 16:25:51 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-17 16:25:51 +0000 |
commit | 49b20f4e4ff3b8e3141905871ccae9fc70e77a1d (patch) | |
tree | c00201a612018adb51278ad095721d45ab3766af /src/cert/x509/x509stor.h | |
parent | 57199e2a8ec339c9cccb5c837416f91119936213 (diff) |
Use the new support for explicitly deleting functions instead of hiding
them as private variables for operator= and copy constructors that shouldn't
be used.
Diffstat (limited to 'src/cert/x509/x509stor.h')
-rw-r--r-- | src/cert/x509/x509stor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cert/x509/x509stor.h b/src/cert/x509/x509stor.h index ab31663ed..958b6da0f 100644 --- a/src/cert/x509/x509stor.h +++ b/src/cert/x509/x509stor.h @@ -94,14 +94,14 @@ class BOTAN_DLL X509_Store static X509_Code check_sig(const X509_Object&, Public_Key*); + X509_Store& operator=(const X509_Store&) = delete; + X509_Store(u32bit time_slack = 24*60*60, u32bit cache_results = 30*60); X509_Store(const X509_Store&); ~X509_Store(); private: - X509_Store& operator=(const X509_Store&) { return (*this); } - class BOTAN_DLL Cert_Info { public: |