Commit c12818f9 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by facebook-github-bot-9

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
parent 78463913
...@@ -31,9 +31,6 @@ ...@@ -31,9 +31,6 @@
#include <folly/io/IOBuf.h> #include <folly/io/IOBuf.h>
#include <folly/io/Cursor.h> #include <folly/io/Cursor.h>
using folly::io::Cursor;
using std::unique_ptr;
namespace folly { namespace folly {
class SSLException: public folly::AsyncSocketException { class SSLException: public folly::AsyncSocketException {
...@@ -862,7 +859,7 @@ class AsyncSSLSocket : public virtual AsyncSocket { ...@@ -862,7 +859,7 @@ class AsyncSSLSocket : public virtual AsyncSocket {
static int sslVerifyCallback(int preverifyOk, X509_STORE_CTX* ctx); static int sslVerifyCallback(int preverifyOk, X509_STORE_CTX* ctx);
bool parseClientHello_{false}; bool parseClientHello_{false};
unique_ptr<ClientHelloInfo> clientHelloInfo_; std::unique_ptr<ClientHelloInfo> clientHelloInfo_;
}; };
} // namespace } // namespace
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment