Commit cee1964d authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Remove the fd overload of AsyncSocket::newSocket

Summary: It's dead.

Reviewed By: yfeldblum

Differential Revision: D14192000

fbshipit-source-id: 3cecbc8e9f656080a023d676883de9943e7d0004
parent 3938ebc1
......@@ -310,9 +310,6 @@ class AsyncSocket : virtual public AsyncTransportWrapper {
/**
* Helper function to create a shared_ptr<AsyncSocket>.
*/
static std::shared_ptr<AsyncSocket> newSocket(EventBase* evb, int fd) {
return newSocket(evb, NetworkSocket::fromFd(fd));
}
static std::shared_ptr<AsyncSocket> newSocket(
EventBase* evb,
NetworkSocket fd) {
......
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