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

@@ -44,14 +44,14 @@ namespace Nz
protected:
AbstractSocket(SocketType type);
inline void UpdateState(SocketState newState);
virtual void OnClose();
virtual void OnOpened();
bool Open(NetProtocol protocol);
void Open(SocketHandle existingHandle);
inline void UpdateState(SocketState newState);
NetProtocol m_protocol;
SocketError m_lastError;
SocketHandle m_handle;