diff options
| author | 2021-04-18 19:54:39 +0100 | |
|---|---|---|
| committer | 2021-04-19 00:14:53 +0100 | |
| commit | ba6332b8ec1b21eabc38a4f7f1dcdb27297cd155 (patch) | |
| tree | d4c2a1c5ddb2696c1554bc91a8240cbffd860888 /src/inspsocket.cpp | |
| parent | Rip out the OnConnectionFail event. (diff) | |
Rip out the SwapInternals method.
This never really worked correctly and will now be replaced with
something better.
Diffstat (limited to 'src/inspsocket.cpp')
| -rw-r--r-- | src/inspsocket.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 0f12aebbe..adbd5e7be 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -545,17 +545,3 @@ size_t StreamSocket::GetSendQSize() const } return ret; } - -void StreamSocket::SwapInternals(StreamSocket& other) -{ - if (type != other.type) - return; - - EventHandler::SwapInternals(other); - std::swap(closeonempty, other.closeonempty); - std::swap(closing, other.closing); - std::swap(error, other.error); - std::swap(iohook, other.iohook); - std::swap(recvq, other.recvq); - std::swap(sendq, other.sendq); -} |
