[7123] Cleanup in using STD's containers erase method.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
Balrok 2009-01-20 20:04:12 +01:00 committed by ApoC
parent 8171c9c61a
commit ce384c5278
9 changed files with 23 additions and 69 deletions

View file

@ -180,13 +180,6 @@ SocialMgr::~SocialMgr()
}
void SocialMgr::RemovePlayerSocial(uint32 guid)
{
SocialMap::iterator itr = m_socialMap.find(guid);
if(itr != m_socialMap.end())
m_socialMap.erase(itr);
}
void SocialMgr::GetFriendInfo(Player *player, uint32 friendGUID, FriendInfo &friendInfo)
{
if(!player)