Network: Fix some move stuff

Former-commit-id: 33b24a038319b444b9a3b84cfeea38c8305e6568
This commit is contained in:
Lynix
2016-01-15 08:29:58 +01:00
parent c9a63bc72c
commit d2a1bc3fd5
4 changed files with 22 additions and 12 deletions

View File

@@ -17,17 +17,6 @@ namespace Nz
{
}
inline TcpClient::TcpClient(TcpClient&& tcpClient) :
AbstractSocket(std::move(tcpClient)),
Stream(std::move(tcpClient)),
m_peerAddress(std::move(tcpClient.m_peerAddress)),
m_keepAliveInterval(tcpClient.m_keepAliveInterval),
m_keepAliveTime(tcpClient.m_keepAliveTime),
m_isLowDelayEnabled(tcpClient.m_isLowDelayEnabled),
m_isKeepAliveEnabled(tcpClient.m_isKeepAliveEnabled)
{
}
inline void TcpClient::Disconnect()
{
Close();