Skip to content

Commit

Permalink
Fix 'virtual' is redundant since function is already declared as 'ove…
Browse files Browse the repository at this point in the history
…rride' warnings. 3 I missed
  • Loading branch information
billy1arm committed Aug 21, 2024
1 parent 3a05a82 commit ef924f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/game/BattleGround/BattleGroundEY.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/mangosd/RAThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef924f8

Please sign in to comment.