From d1ae9f87fd97247c6ee46622a3a78836a359381b Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 24 Sep 2013 16:08:44 +0200 Subject: [PATCH] using to typedef to make gcc-4.6 happy --- src/LibsslTLSContext.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/LibsslTLSContext.cc b/src/LibsslTLSContext.cc index ff34a7d2..6604c757 100644 --- a/src/LibsslTLSContext.cc +++ b/src/LibsslTLSContext.cc @@ -52,31 +52,31 @@ namespace { if (b) BIO_free(b); } }; - using bio_t = std::unique_ptr; + typedef std::unique_ptr bio_t; struct p12_deleter { void operator()(PKCS12 *p) { if (p) PKCS12_free(p); } }; - using p12_t = std::unique_ptr; + typedef std::unique_ptr p12_t; struct pkey_deleter { void operator()(EVP_PKEY *x) { if (x) EVP_PKEY_free(x); } }; - using pkey_t = std::unique_ptr; + typedef std::unique_ptr pkey_t; struct x509_deleter { void operator()(X509 *x) { if (x) X509_free(x); } }; - using x509_t = std::unique_ptr; + typedef std::unique_ptr x509_t; struct x509_sk_deleter { void operator()(STACK_OF(X509) *x) { if (x) sk_X509_pop_free(x, X509_free); } }; - using x509_sk_t = std::unique_ptr; + typedef std::unique_ptr x509_sk_t; } // namespace namespace aria2 {