diff options
Diffstat (limited to 'src/Server.cpp')
-rw-r--r-- | src/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index d70164316..880ed6c72 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -321,7 +321,7 @@ cTCPLink::cCallbacksPtr cServer::OnConnectionAccepted(const AString & a_RemoteIP cClientHandlePtr NewHandle = std::make_shared<cClientHandle>(a_RemoteIPAddress, m_ClientViewDistance); cCSLock Lock(m_CSClients); m_Clients.push_back(NewHandle); - return std::move(NewHandle); + return NewHandle; } |