Core/Misc: reduced amount of string memory allocations (Step II)

This commit is contained in:
Spp committed 2012-10-24 15:34:48 +02:00
1 parent 013fb1f4d9
commit 9fbc4c0ae2
35 files changed
+160 -163

No files matched your search

+1 -1
View File
@@ -557,7 +557,7 @@ void WorldSession::HandleAddFriendOpcode(WorldPacket& recvData)
_addFriendCallback.SetFutureResult(CharacterDatabase.AsyncQuery(stmt));
}
void WorldSession::HandleAddFriendOpcodeCallBack(PreparedQueryResult result, std::string friendNote)
void WorldSession::HandleAddFriendOpcodeCallBack(PreparedQueryResult result, std::string const& friendNote)
{
if (!GetPlayer())
return;