Commit 549476f0 authored by Luca Niccolini's avatar Luca Niccolini Committed by Facebook Github Bot

delete folly::AsyncSocket::OptionMap/OptionKey/emptyOptionMap aliases

Summary: delete the folly::AsyncSocket::OptionMap/OptionKey/emptyOptionMap aliases

Reviewed By: yangchi

Differential Revision: D19963346

fbshipit-source-id: 6beae0961a82d12efd4d784ec390031d9445cd2b
parent 44a7106b
...@@ -62,9 +62,6 @@ static constexpr bool msgErrQueueSupported = ...@@ -62,9 +62,6 @@ static constexpr bool msgErrQueueSupported =
false; false;
#endif // FOLLY_HAVE_MSG_ERRQUEUE #endif // FOLLY_HAVE_MSG_ERRQUEUE
// static members initializers
const AsyncSocket::OptionMap AsyncSocket::emptyOptionMap;
const AsyncSocketException socketClosedLocallyEx( const AsyncSocketException socketClosedLocallyEx(
AsyncSocketException::END_OF_FILE, AsyncSocketException::END_OF_FILE,
"socket closed locally"); "socket closed locally");
......
...@@ -380,10 +380,6 @@ class AsyncSocket : virtual public AsyncTransportWrapper { ...@@ -380,10 +380,6 @@ class AsyncSocket : virtual public AsyncTransportWrapper {
*/ */
virtual NetworkSocket detachNetworkSocket(); virtual NetworkSocket detachNetworkSocket();
using OptionKey = SocketOptionKey;
using OptionMap = SocketOptionMap;
static const OptionMap emptyOptionMap;
static const folly::SocketAddress& anyAddress(); static const folly::SocketAddress& anyAddress();
/** /**
......
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