[8652] Lock typo fixed.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-10-16 20:41:39 +02:00
parent cf7ec4c456
commit 40b0612dfc
2 changed files with 2 additions and 2 deletions

View file

@ -175,7 +175,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)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8651" #define REVISION_NR "8652"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__