chore(core): cleanup code p3 (#16073)
* Update MMapMgr.cpp * Update UpdateFetcher.cpp * Update AuctionHouseMgr.cpp * Update AuctionHouseMgr.h * Update BattlegroundAV.cpp * Update ChannelMgr.cpp * Update ThreatMgr.h * Update Player.h * Update PlayerSettings.cpp * Update ObjectMgr.cpp * Update Guild.cpp * Update Guild.h * Update Map.cpp * Update World.cpp * Update boss_nefarian.cpp * Update boss_prince_malchezaar.cpp * Update boss_venoxis.cpp * Update zone_elwynn_forest.cpp * Update zulfarrak.cpp * Update boss_novos.cpp
This commit is contained in:
parent
5dc6f9cf78
commit
df77b5f4f7
20 changed files with 26 additions and 26 deletions
|
|
@ -48,7 +48,7 @@ void Player::_LoadCharacterSettings(PreparedQueryResult result)
|
|||
|
||||
uint32 count = 0;
|
||||
|
||||
for (auto token : tokens)
|
||||
for (auto& token : tokens)
|
||||
{
|
||||
if (token.empty())
|
||||
{
|
||||
|
|
@ -95,11 +95,11 @@ void Player::_SavePlayerSettings(CharacterDatabaseTransaction trans)
|
|||
return;
|
||||
}
|
||||
|
||||
for (auto itr : m_charSettingsMap)
|
||||
for (auto& itr : m_charSettingsMap)
|
||||
{
|
||||
std::ostringstream data;
|
||||
|
||||
for (auto setting : itr.second)
|
||||
for (auto& setting : itr.second)
|
||||
{
|
||||
data << setting.value << ' ';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue