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

Remove AsyncServerSocket.getSockets()

Summary: It is dead

Reviewed By: yfeldblum

Differential Revision: D14235873

fbshipit-source-id: bafc323898f2a17aedf6644f9c2dd7319b8e6420
parent f3a00610
......@@ -308,14 +308,6 @@ class AsyncServerSocket : public DelayedDestruction, public AsyncSocketBase {
/**
* Return the underlying file descriptor
*/
std::vector<int> getSockets() const {
std::vector<int> sockets;
for (auto& handler : sockets_) {
sockets.push_back(handler.socket_.toFd());
}
return sockets;
}
std::vector<NetworkSocket> getNetworkSockets() const {
std::vector<NetworkSocket> sockets;
for (auto& handler : sockets_) {
......
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