summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorhle0 <91701075+hle0@users.noreply.github.com>2022-03-26 22:10:30 +0100
committerAlexander Harkness <me@bearbin.net>2022-04-12 01:06:31 +0200
commitd98e2bdaa3903de29f62791c05472a693b0ea36b (patch)
treee2acc9547a4dc5a1d52468f7eff1174aa29b08e4 /src/Server.cpp
parentDisable u8 prefix C++20 warning since we need it (diff)
downloadcuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.gz
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.bz2
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.lz
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.xz
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.tar.zst
cuberite-d98e2bdaa3903de29f62791c05472a693b0ea36b.zip
Diffstat (limited to '')
-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;
}