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

Remove the fd overload of AsyncSocket::OptionKey::apply

Summary: Everything has been migrated over to the NetworkSocket overload.

Reviewed By: yfeldblum

Differential Revision: D13566609

fbshipit-source-id: 920505a9e91f1acc5810949049880ed07294621b
parent 3d169f43
......@@ -375,9 +375,6 @@ class AsyncSocket : virtual public AsyncTransportWrapper {
int apply(NetworkSocket fd, int val) const {
return netops::setsockopt(fd, level, optname, &val, sizeof(val));
}
int apply(int fd, int val) const {
return apply(NetworkSocket::fromFd(fd), val);
}
int level;
int optname;
};
......
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