aboutsummaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-18 19:54:39 +0100
committerGravatar Sadie Powell2021-04-19 00:14:53 +0100
commitba6332b8ec1b21eabc38a4f7f1dcdb27297cd155 (patch)
treed4c2a1c5ddb2696c1554bc91a8240cbffd860888 /src/inspsocket.cpp
parentRip 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.cpp14
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);
-}