summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp2
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;
}