summaryrefslogtreecommitdiff
path: root/Userland/Services/ChessEngine/ChessEngine.h
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-10-31 23:32:56 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-02 22:56:53 +0100
commit6b75a4dfc32e870e001cc2856fb4498069c39708 (patch)
tree5b3b9c705b063532084b744052d6d1dda7a1d725 /Userland/Services/ChessEngine/ChessEngine.h
parent2e6bb987a31179eddcd3f85f405ad9e8c1e2bc24 (diff)
downloadserenity-6b75a4dfc32e870e001cc2856fb4498069c39708.zip
Everywhere: Mark overridden methods 'override'
This is good practice, and fixes some IDE warnings.
Diffstat (limited to 'Userland/Services/ChessEngine/ChessEngine.h')
-rw-r--r--Userland/Services/ChessEngine/ChessEngine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Services/ChessEngine/ChessEngine.h b/Userland/Services/ChessEngine/ChessEngine.h
index 61e356f069..05e541c1f9 100644
--- a/Userland/Services/ChessEngine/ChessEngine.h
+++ b/Userland/Services/ChessEngine/ChessEngine.h
@@ -20,9 +20,9 @@ public:
{
}
- virtual void handle_uci();
- virtual void handle_position(const Chess::UCI::PositionCommand&);
- virtual void handle_go(const Chess::UCI::GoCommand&);
+ virtual void handle_uci() override;
+ virtual void handle_position(const Chess::UCI::PositionCommand&) override;
+ virtual void handle_go(const Chess::UCI::GoCommand&) override;
private:
Chess::Board m_board;