diff options
author | tycho <work.tycho@gmail.com> | 2015-09-19 01:30:43 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-09-19 01:32:08 +0200 |
commit | 49724cd4276785b7a3cfa9450e5df691d3a9de3d (patch) | |
tree | 61f4576eecce8cccb325d42b3a42de260d32029b | |
parent | Merge pull request #2479 from cuberite/clientPerformance (diff) | |
download | cuberite-49724cd4276785b7a3cfa9450e5df691d3a9de3d.tar cuberite-49724cd4276785b7a3cfa9450e5df691d3a9de3d.tar.gz cuberite-49724cd4276785b7a3cfa9450e5df691d3a9de3d.tar.bz2 cuberite-49724cd4276785b7a3cfa9450e5df691d3a9de3d.tar.lz cuberite-49724cd4276785b7a3cfa9450e5df691d3a9de3d.tar.xz cuberite-49724cd4276785b7a3cfa9450e5df691d3a9de3d.tar.zst cuberite-49724cd4276785b7a3cfa9450e5df691d3a9de3d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 6aee2eed9..6b061c53f 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -1885,7 +1885,7 @@ bool cChunk::AddClient(cClientHandle * a_Client) void cChunk::RemoveClient(cClientHandle * a_Client) { - std::remove(m_LoadedByClient.begin(), m_LoadedByClient.end(), a_Client); + m_LoadedByClient.erase(std::remove(m_LoadedByClient.begin(), m_LoadedByClient.end(), a_Client)); if (!a_Client->IsDestroyed()) { |