Core/Misc: Remove obsolete C++11 backward compatibility macros

OVERRIDE, FINAL, DELETE_MEMBER
This commit is contained in:
Dehravor committed 2014-04-29 16:35:11 +02:00
1 parent 414554aefa
commit 24ae6a6802
639 files changed
+9594 -9604

No files matched your search

+5 -5
View File
@@ -45,7 +45,7 @@ class npc_pet_dk_ebon_gargoyle : public CreatureScript
{
npc_pet_dk_ebon_gargoyleAI(Creature* creature) : CasterAI(creature) { }
void InitializeAI() OVERRIDE
void InitializeAI() override
{
// Not needed to be despawned now
_despawnTimer = 0;
@@ -68,7 +68,7 @@ class npc_pet_dk_ebon_gargoyle : public CreatureScript
}
}
void JustDied(Unit* /*killer*/) OVERRIDE
void JustDied(Unit* /*killer*/) override
{
// Stop Feeding Gargoyle when it dies
if (Unit* owner = me->GetOwner())
@@ -76,7 +76,7 @@ class npc_pet_dk_ebon_gargoyle : public CreatureScript
}
// Fly away when dismissed
void SpellHit(Unit* source, SpellInfo const* spell) OVERRIDE
void SpellHit(Unit* source, SpellInfo const* spell) override
{
if (spell->Id != SPELL_DK_DISMISS_GARGOYLE || !me->IsAlive())
return;
@@ -107,7 +107,7 @@ class npc_pet_dk_ebon_gargoyle : public CreatureScript
_despawnTimer = 4 * IN_MILLISECONDS;
}
void UpdateAI(uint32 diff) OVERRIDE
void UpdateAI(uint32 diff) override
{
if (_despawnTimer > 0)
{
@@ -125,7 +125,7 @@ class npc_pet_dk_ebon_gargoyle : public CreatureScript
uint32 _despawnTimer;
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_pet_dk_ebon_gargoyleAI(creature);
}