diff options
author | Kirill Kirilenko <kirill@ultracoder.org> | 2015-01-17 14:00:12 +0100 |
---|---|---|
committer | Kirill Kirilenko <kirill@ultracoder.org> | 2015-01-17 14:00:12 +0100 |
commit | 41f30edcf77521630b7f69d3e94338e6ab2f821f (patch) | |
tree | 7dabeb891ea4d1efc8cbc9c55d5530cf9e9d301a /src/Root.cpp | |
parent | Fixed CppCheck: (performance) Possible inefficient checking for emptiness. (diff) | |
download | cuberite-41f30edcf77521630b7f69d3e94338e6ab2f821f.tar cuberite-41f30edcf77521630b7f69d3e94338e6ab2f821f.tar.gz cuberite-41f30edcf77521630b7f69d3e94338e6ab2f821f.tar.bz2 cuberite-41f30edcf77521630b7f69d3e94338e6ab2f821f.tar.lz cuberite-41f30edcf77521630b7f69d3e94338e6ab2f821f.tar.xz cuberite-41f30edcf77521630b7f69d3e94338e6ab2f821f.tar.zst cuberite-41f30edcf77521630b7f69d3e94338e6ab2f821f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 8951bafe6..eaacf3608 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -639,7 +639,7 @@ bool cRoot::FindAndDoWithPlayer(const AString & a_PlayerName, cPlayerListCallbac bool cRoot::DoWithPlayerByUUID(const AString & a_PlayerUUID, cPlayerListCallback & a_Callback) { - for (WorldMap::iterator itr = m_WorldsByName.begin(); itr != m_WorldsByName.end();itr++) + for (WorldMap::iterator itr = m_WorldsByName.begin(); itr != m_WorldsByName.end(); ++itr) { if (itr->second->DoWithPlayerByUUID(a_PlayerUUID, a_Callback)) { |