fix: compiler warnings

This commit is contained in:
2021-09-02 10:48:14 +02:00
parent fe86bffc2e
commit 04d1e3c0bf
22 changed files with 74 additions and 79 deletions

View File

@@ -13,10 +13,10 @@ namespace td {
namespace network {
Socket::Socket(Type type)
: m_Handle(INVALID_SOCKET),
: m_Blocking(false),
m_Type(type),
m_Blocking(false),
m_Status(Disconnected)
m_Status(Disconnected),
m_Handle(INVALID_SOCKET)
{
}
@@ -33,6 +33,8 @@ bool Socket::SetBlocking(bool block) {
}
m_Blocking = block;
return true;
}
bool Socket::IsBlocking() const noexcept {