mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[7123] Cleanup in using STD's containers erase method.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
8171c9c61a
commit
ce384c5278
9 changed files with 23 additions and 69 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue