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

Remove fd overload of AsyncSocket::IoHandler::IoHandler()

Summary: It's no longer needed

Reviewed By: yfeldblum

Differential Revision: D13106461

fbshipit-source-id: fcd194a2815581e2f8e2e181019d67a088f8788a
parent b82b54ba
......@@ -1008,9 +1008,7 @@ class AsyncSocket : virtual public AsyncTransportWrapper {
class IoHandler : public EventHandler {
public:
IoHandler(AsyncSocket* socket, EventBase* eventBase)
: EventHandler(eventBase, -1), socket_(socket) {}
IoHandler(AsyncSocket* socket, EventBase* eventBase, int fd)
: IoHandler(socket, eventBase, NetworkSocket::fromFd(fd)) {}
: EventHandler(eventBase, NetworkSocket()), socket_(socket) {}
IoHandler(AsyncSocket* socket, EventBase* eventBase, NetworkSocket fd)
: EventHandler(eventBase, fd), socket_(socket) {}
......
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