Remove evil using statements from AsyncSSLSocket.h
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 7 Oct 2015 05:22:49 +0000 (22:22 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Wed, 7 Oct 2015 06:20:17 +0000 (23:20 -0700)
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

index dd328703297ec4eb73330fd91808c205ee9afefa..4b8e4773ec491fe39adf4f0f54b5db6bf91ca494 100644 (file)
@@ -31,9 +31,6 @@
 #include <folly/io/IOBuf.h>
 #include <folly/io/Cursor.h>
 
-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> clientHelloInfo_;
+  std::unique_ptr<ClientHelloInfo> clientHelloInfo_;
 };
 
 } // namespace