fix(Core/Misc): Change const to be after type name (#10591)

This commit is contained in:
Kitzunu
2022-02-14 20:05:45 +01:00
committed by GitHub
parent 9b83abca39
commit 455899dc75
168 changed files with 438 additions and 438 deletions

View File

@@ -302,7 +302,7 @@ bool ArenaSpectator::ShouldSendAura(Aura* aura, uint8 effMask, ObjectGuid target
}
template<>
AC_GAME_API void ArenaSpectator::SendPacketTo(const Player* player, std::string&& message)
AC_GAME_API void ArenaSpectator::SendPacketTo(Player const* player, std::string&& message)
{
WorldPacket data;
CreatePacket(data, message);

View File

@@ -91,7 +91,7 @@ namespace ArenaSpectator
if (!targetGUID.IsPlayer())
return;
if (const SpellInfo* si = sSpellMgr->GetSpellInfo(id))
if (SpellInfo const* si = sSpellMgr->GetSpellInfo(id))
if (si->SpellIconID == 1)
return;