From ef924f82263e3dd2bcdf14207948cb3e42054562 Mon Sep 17 00:00:00 2001 From: billy1arm Date: Wed, 21 Aug 2024 16:23:24 +0100 Subject: [PATCH] Fix 'virtual' is redundant since function is already declared as 'override' warnings. 3 I missed --- src/game/BattleGround/BattleGroundEY.h | 2 +- src/mangosd/RAThread.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/BattleGround/BattleGroundEY.h b/src/game/BattleGround/BattleGroundEY.h index 88f838fc5..82303b251 100644 --- a/src/game/BattleGround/BattleGroundEY.h +++ b/src/game/BattleGround/BattleGroundEY.h @@ -279,7 +279,7 @@ class BattleGroundEY : public BattleGround void EventPlayerClickedOnFlag(Player* source, GameObject* target_obj) override; void EventPlayerDroppedFlag(Player* source) override; - virtual Team GetPrematureWinner() override; + Team GetPrematureWinner() override; private: // process capture events diff --git a/src/mangosd/RAThread.h b/src/mangosd/RAThread.h index 586d33104..b690ff34a 100644 --- a/src/mangosd/RAThread.h +++ b/src/mangosd/RAThread.h @@ -53,8 +53,8 @@ class RAThread : public ACE_Task_Base explicit RAThread(uint16 port, const char* host); virtual ~RAThread(); - virtual int open(void* unused) override; - virtual int svc() override; + int open(void* unused) override; + int svc() override; }; #endif