diff options
author | megamage <none@none> | 2009-04-29 00:26:07 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-29 00:26:07 -0500 |
commit | de11b9e901d1d1caa0634fad541f08f11c5781af (patch) | |
tree | e35503d08ef545e668b8d854da41e0ea6aba3b3b /src/game/Level0.cpp | |
parent | 9dd4b8c98599b0bdccea7b9acb61cb4e7a35da8f (diff) |
[7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
Diffstat (limited to 'src/game/Level0.cpp')
-rw-r--r-- | src/game/Level0.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level0.cpp b/src/game/Level0.cpp index 86ac187326d..51fd0c523d2 100644 --- a/src/game/Level0.cpp +++ b/src/game/Level0.cpp @@ -157,7 +157,7 @@ bool ChatHandler::HandleGMListIngameCommand(const char* /*args*/) bool first = true; HashMapHolder<Player>::MapType &m = HashMapHolder<Player>::GetContainer(); - HashMapHolder<Player>::MapType::iterator itr = m.begin(); + HashMapHolder<Player>::MapType::const_iterator itr = m.begin(); for(; itr != m.end(); ++itr) { if (itr->second->GetSession()->GetSecurity() && |