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

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -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;