Skip to content

Commit 57a5f1e

Browse files
authored
Apply suggestions from code review
1 parent 2b4a4a5 commit 57a5f1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mod_zone_difficulty_handler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ bool ZoneDifficulty::CheckCompletionStatus(Creature* creature, Player* player, u
10921092
{
10931093
uint32 category;
10941094
uint32 setting;
1095-
const char* bossName;
1095+
char const* bossName;
10961096
};
10971097

10981098
static constexpr std::array<MythicRequirement, 5> requirements
@@ -1137,7 +1137,7 @@ void ZoneDifficulty::ProcessCreatureDeath(Map* map, uint32 entry)
11371137
if (npcId != entry)
11381138
continue;
11391139

1140-
const auto& [setting, zoneName] = data;
1140+
auto const& [setting, zoneName] = data;
11411141

11421142
map->DoForAllPlayers([&](Player* player)
11431143
{

0 commit comments

Comments
 (0)