diff options
Diffstat (limited to 'Userland/Games/Chess/Engine.h')
-rw-r--r-- | Userland/Games/Chess/Engine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Games/Chess/Engine.h b/Userland/Games/Chess/Engine.h index c41eaec0e9..d91127714b 100644 --- a/Userland/Games/Chess/Engine.h +++ b/Userland/Games/Chess/Engine.h @@ -17,13 +17,13 @@ public: Engine(StringView command); - Engine(const Engine&) = delete; - Engine& operator=(const Engine&) = delete; + Engine(Engine const&) = delete; + Engine& operator=(Engine const&) = delete; - virtual void handle_bestmove(const Chess::UCI::BestMoveCommand&) override; + virtual void handle_bestmove(Chess::UCI::BestMoveCommand const&) override; template<typename Callback> - void get_best_move(const Chess::Board& board, int time_limit, Callback&& callback) + void get_best_move(Chess::Board const& board, int time_limit, Callback&& callback) { send_command(Chess::UCI::PositionCommand({}, board.moves())); Chess::UCI::GoCommand go_command; |