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

Remove the fd overload of AsyncSocket::AsyncSocket

Summary: It should be dead now.

Reviewed By: yfeldblum

Differential Revision: D14350795

fbshipit-source-id: 30a021c0180b73b9d76e34722353c4e65e1c98f8
parent 15fff7c1
......@@ -262,8 +262,6 @@ class AsyncSocket : virtual public AsyncTransportWrapper {
* @param fd File descriptor to take over (should be a connected socket).
* @param zeroCopyBufId Zerocopy buf id to start with.
*/
AsyncSocket(EventBase* evb, int fd, uint32_t zeroCopyBufId = 0)
: AsyncSocket(evb, NetworkSocket::fromFd(fd), zeroCopyBufId) {}
AsyncSocket(EventBase* evb, NetworkSocket fd, uint32_t zeroCopyBufId = 0);
/**
......
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