1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

Everywhere: Mark overridden methods 'override'

This is good practice, and fixes some IDE warnings.
This commit is contained in:
Ben Wiederhake 2021-10-31 23:32:56 +01:00 committed by Andreas Kling
parent 2e6bb987a3
commit 6b75a4dfc3
5 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ public:
Engine(const Engine&) = delete;
Engine& operator=(const Engine&) = delete;
virtual void handle_bestmove(const Chess::UCI::BestMoveCommand&);
virtual void handle_bestmove(const Chess::UCI::BestMoveCommand&) override;
template<typename Callback>
void get_best_move(const Chess::Board& board, int time_limit, Callback&& callback)