Merge [8652] Lock typo fixed. Author: ApoC
--HG-- branch : trunk
This commit is contained in:
@@ -173,7 +173,7 @@ ObjectAccessor::FindPlayerByName(const char *name)
|
|||||||
void
|
void
|
||||||
ObjectAccessor::SaveAllPlayers()
|
ObjectAccessor::SaveAllPlayers()
|
||||||
{
|
{
|
||||||
Guard guard(*HashMapHolder<Player*>::GetLock());
|
Guard guard(*HashMapHolder<Player>::GetLock());
|
||||||
HashMapHolder<Player>::MapType& m = HashMapHolder<Player>::GetContainer();
|
HashMapHolder<Player>::MapType& m = HashMapHolder<Player>::GetContainer();
|
||||||
HashMapHolder<Player>::MapType::iterator itr = m.begin();
|
HashMapHolder<Player>::MapType::iterator itr = m.begin();
|
||||||
for (; itr != m.end(); ++itr)
|
for (; itr != m.end(); ++itr)
|
||||||
|
|||||||
Reference in New Issue
Block a user