Core/Misc: reduced amount of string memory allocations (Step II)
This commit is contained in:
1 parent
013fb1f4d9
commit
9fbc4c0ae2
35 files changed
+160
-163
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user