From 881760821ecfdde3ffab175569099237e1ac81d9 Mon Sep 17 00:00:00 2001 From: acidmanifesto Date: Fri, 18 Feb 2022 14:08:11 -0500 Subject: [PATCH] fix (core): Final Override to Final (#10731) PT2, codefactor was green and then decided to complain about the other final overrides in BG --- src/server/game/Battlegrounds/Zones/BattlegroundAB.h | 4 ++-- src/server/game/Battlegrounds/Zones/BattlegroundEY.h | 2 +- src/server/game/Battlegrounds/Zones/BattlegroundIC.h | 4 ++-- src/server/game/Battlegrounds/Zones/BattlegroundSA.h | 4 ++-- src/server/game/Battlegrounds/Zones/BattlegroundWS.h | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundAB.h b/src/server/game/Battlegrounds/Zones/BattlegroundAB.h index 0ac0e1d2b..403664faf 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundAB.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundAB.h @@ -280,8 +280,8 @@ protected: void BuildObjectivesBlock(WorldPacket& data) final; - uint32 GetAttr1() const final override { return BasesAssaulted; } - uint32 GetAttr2() const final override { return BasesDefended; } + uint32 GetAttr1() const override { return BasesAssaulted; } + uint32 GetAttr2() const override { return BasesDefended; } uint32 BasesAssaulted = 0; uint32 BasesDefended = 0; diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundEY.h b/src/server/game/Battlegrounds/Zones/BattlegroundEY.h index fee94125a..4e364df5b 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundEY.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundEY.h @@ -371,7 +371,7 @@ protected: void BuildObjectivesBlock(WorldPacket& data) final; - uint32 GetAttr1() const final override { return FlagCaptures; } + uint32 GetAttr1() const override { return FlagCaptures; } uint32 FlagCaptures = 0; }; diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundIC.h b/src/server/game/Battlegrounds/Zones/BattlegroundIC.h index 728f4d0d3..6a6b40188 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundIC.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundIC.h @@ -941,8 +941,8 @@ protected: void BuildObjectivesBlock(WorldPacket& data) final; - uint32 GetAttr1() const final override { return BasesAssaulted; } - uint32 GetAttr2() const final override { return BasesDefended; } + uint32 GetAttr1() const override { return BasesAssaulted; } + uint32 GetAttr2() const override { return BasesDefended; } uint32 BasesAssaulted = 0; uint32 BasesDefended = 0; diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundSA.h b/src/server/game/Battlegrounds/Zones/BattlegroundSA.h index caf778916..1126e7567 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundSA.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundSA.h @@ -444,8 +444,8 @@ protected: void BuildObjectivesBlock(WorldPacket& data) final; - uint32 GetAttr1() const final override { return DemolishersDestroyed; } - uint32 GetAttr2() const final override { return GatesDestroyed; } + uint32 GetAttr1() const override { return DemolishersDestroyed; } + uint32 GetAttr2() const override { return GatesDestroyed; } uint32 DemolishersDestroyed = 0; uint32 GatesDestroyed = 0; diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundWS.h b/src/server/game/Battlegrounds/Zones/BattlegroundWS.h index c65b881d7..a2b5df6b1 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundWS.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundWS.h @@ -207,8 +207,8 @@ protected: void BuildObjectivesBlock(WorldPacket& data) final; - uint32 GetAttr1() const final override { return FlagCaptures; } - uint32 GetAttr2() const final override { return FlagReturns; } + uint32 GetAttr1() const override { return FlagCaptures; } + uint32 GetAttr2() const override { return FlagReturns; } uint32 FlagCaptures = 0; uint32 FlagReturns = 0;