refactor(Core): apply clang-tidy modernize-use-override (#3817)

This commit is contained in:
Francesco Borzì 2020-12-06 18:04:55 +01:00 committed by GitHub
parent 9facd81e54
commit d4a58700d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
561 changed files with 9574 additions and 9574 deletions

View file

@ -40,7 +40,7 @@ public:
{
guard_shattrath_scryerAI(Creature* creature) : GuardAI(creature) { }
void Reset()
void Reset() override
{
banishTimer = 5000;
exileTimer = 8500;
@ -48,7 +48,7 @@ public:
canTeleport = false;
}
void UpdateAI(uint32 diff)
void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@ -92,7 +92,7 @@ public:
bool canTeleport;
};
CreatureAI* GetAI(Creature* creature) const
CreatureAI* GetAI(Creature* creature) const override
{
return new guard_shattrath_scryerAI(creature);
}
@ -107,7 +107,7 @@ public:
{
guard_shattrath_aldorAI(Creature* creature) : GuardAI(creature) { }
void Reset()
void Reset() override
{
banishTimer = 5000;
exileTimer = 8500;
@ -115,7 +115,7 @@ public:
canTeleport = false;
}
void UpdateAI(uint32 diff)
void UpdateAI(uint32 diff) override
{
if (!UpdateVictim())
return;
@ -158,7 +158,7 @@ public:
bool canTeleport;
};
CreatureAI* GetAI(Creature* creature) const
CreatureAI* GetAI(Creature* creature) const override
{
return new guard_shattrath_aldorAI(creature);
}