Network/Socket: Fix last error being undefined without any operation

Former-commit-id: 5ccd098d93842f0be79d516630f39150a394045c
This commit is contained in:
Lynix
2016-02-24 14:14:29 +01:00
parent dff6e855e4
commit d6279914b4
2 changed files with 3 additions and 2 deletions

View File

@@ -18,6 +18,7 @@
namespace Nz
{
AbstractSocket::AbstractSocket(SocketType type) :
m_lastError(SocketError_NoError),
m_handle(SocketImpl::InvalidHandle),
m_state(SocketState_NotConnected),
m_type(type),