diff options
Diffstat (limited to 'src/util/sock.cpp')
-rw-r--r-- | src/util/sock.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/sock.cpp b/src/util/sock.cpp index 7d5069423a..20418a940c 100644 --- a/src/util/sock.cpp +++ b/src/util/sock.cpp @@ -51,13 +51,6 @@ Sock& Sock::operator=(Sock&& other) SOCKET Sock::Get() const { return m_socket; } -SOCKET Sock::Release() -{ - const SOCKET s = m_socket; - m_socket = INVALID_SOCKET; - return s; -} - void Sock::Reset() { CloseSocket(m_socket); } ssize_t Sock::Send(const void* data, size_t len, int flags) const |