net: remove Sock default constructor, it's not necessary

This commit is contained in:
Vasil Dimov
2021-05-28 15:37:43 +02:00
parent 7829272f78
commit 5086a99b84
5 changed files with 14 additions and 13 deletions

View File

@@ -24,8 +24,6 @@ static inline bool IOErrorIsPermanent(int err)
return err != WSAEAGAIN && err != WSAEINTR && err != WSAEWOULDBLOCK && err != WSAEINPROGRESS;
}
Sock::Sock() : m_socket(INVALID_SOCKET) {}
Sock::Sock(SOCKET s) : m_socket(s) {}
Sock::Sock(Sock&& other)