Core: Pass by const reference for simple objects replaced with pass by value
This commit is contained in:
1 parent
1fc1da842e
commit
acd0fc79f6
63 files changed
+263
-263
No files matched your search
@@ -81,7 +81,7 @@ std::string GuildMgr::GetGuildNameById(uint32 guildId) const
|
||||
return "";
|
||||
}
|
||||
|
||||
Guild* GuildMgr::GetGuildByLeader(const uint64 &guid) const
|
||||
Guild* GuildMgr::GetGuildByLeader(const uint64 guid) const
|
||||
{
|
||||
for (GuildContainer::const_iterator itr = GuildStore.begin(); itr != GuildStore.end(); ++itr)
|
||||
if (itr->second->GetLeaderGUID() == guid)
|
||||
|
||||
Reference in new issue
Block a user