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:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue