From c12818f97b2317525abd3ef8e0ad23416cde6c8b Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Tue, 6 Oct 2015 22:22:49 -0700 Subject: [PATCH] Remove evil using statements from AsyncSSLSocket.h Summary: [Folly] Remove evil `using` statements from `AsyncSSLSocket.h`. `using` in headers is frowned upon. Consider this diff a frown. Reviewed By: @alandau Differential Revision: D2509810 fb-gh-sync-id: 4a752b9f4a5be6ac4ca7c498c0168ffad5c35d7f --- folly/io/async/AsyncSSLSocket.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/folly/io/async/AsyncSSLSocket.h b/folly/io/async/AsyncSSLSocket.h index dd328703..4b8e4773 100644 --- a/folly/io/async/AsyncSSLSocket.h +++ b/folly/io/async/AsyncSSLSocket.h @@ -31,9 +31,6 @@ #include #include -using folly::io::Cursor; -using std::unique_ptr; - namespace folly { class SSLException: public folly::AsyncSocketException { @@ -862,7 +859,7 @@ class AsyncSSLSocket : public virtual AsyncSocket { static int sslVerifyCallback(int preverifyOk, X509_STORE_CTX* ctx); bool parseClientHello_{false}; - unique_ptr clientHelloInfo_; + std::unique_ptr clientHelloInfo_; }; } // namespace -- 2.34.1