diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-10-31 23:32:56 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-02 22:56:53 +0100 |
commit | 6b75a4dfc32e870e001cc2856fb4498069c39708 (patch) | |
tree | 5b3b9c705b063532084b744052d6d1dda7a1d725 /Userland/Games/Chess | |
parent | 2e6bb987a31179eddcd3f85f405ad9e8c1e2bc24 (diff) | |
download | serenity-6b75a4dfc32e870e001cc2856fb4498069c39708.zip |
Everywhere: Mark overridden methods 'override'
This is good practice, and fixes some IDE warnings.
Diffstat (limited to 'Userland/Games/Chess')
-rw-r--r-- | Userland/Games/Chess/Engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Chess/Engine.h b/Userland/Games/Chess/Engine.h index 22c0c072d6..2e728d647d 100644 --- a/Userland/Games/Chess/Engine.h +++ b/Userland/Games/Chess/Engine.h @@ -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) |