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

Remove the fd overload of AsyncServerSocket::getSocket

Summary: It's dead.

Reviewed By: yfeldblum

Differential Revision: D14191959

fbshipit-source-id: 8cfb68fa8f10b1f847bf6601aec8d869cb9c008d
parent fbc1a619
......@@ -319,10 +319,6 @@ class AsyncServerSocket : public DelayedDestruction, public AsyncSocketBase {
/**
* Backwards compatible getSocket, warns if > 1 socket
*/
int getSocket() const {
return getNetworkSocket().toFd();
}
NetworkSocket getNetworkSocket() const {
if (sockets_.size() > 1) {
VLOG(2) << "Warning: getSocket can return multiple fds, "
......
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