Core/Misc: Remove obsolete C++11 backward compatibility macros
OVERRIDE, FINAL, DELETE_MEMBER
This commit is contained in:
1 parent
414554aefa
commit
24ae6a6802
639 files changed
+9594
-9604
No files matched your search
@@ -44,7 +44,7 @@ class npc_pet_pri_lightwell : public CreatureScript
|
||||
DoCast(me, SPELL_PRIEST_LIGHTWELL_CHARGES, false);
|
||||
}
|
||||
|
||||
void EnterEvadeMode() OVERRIDE
|
||||
void EnterEvadeMode() override
|
||||
{
|
||||
if (!me->IsAlive())
|
||||
return;
|
||||
@@ -55,7 +55,7 @@ class npc_pet_pri_lightwell : public CreatureScript
|
||||
}
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const OVERRIDE
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_pet_pri_lightwellAI(creature);
|
||||
}
|
||||
@@ -70,7 +70,7 @@ class npc_pet_pri_shadowfiend : public CreatureScript
|
||||
{
|
||||
npc_pet_pri_shadowfiendAI(Creature* creature) : PetAI(creature) { }
|
||||
|
||||
void JustDied(Unit* /*killer*/) OVERRIDE
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
{
|
||||
if (me->IsSummon())
|
||||
if (Unit* owner = me->ToTempSummon()->GetSummoner())
|
||||
@@ -79,7 +79,7 @@ class npc_pet_pri_shadowfiend : public CreatureScript
|
||||
}
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const OVERRIDE
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_pet_pri_shadowfiendAI(creature);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user