net: remove now unused Sock::Release()

This commit is contained in:
Vasil Dimov
2021-04-29 17:39:02 +02:00
parent 8e7eeb5971
commit 175fb2670a
3 changed files with 0 additions and 24 deletions

View File

@@ -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