From 575a5f107de75d58330475b53ef4c822abbd1f1e Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 2 Dec 2021 20:02:52 +0100 Subject: [PATCH] Fix whitespace issues. --- src/client.cpp | 14 +++++++------- src/hashprobe.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/client.cpp b/src/client.cpp index a59b961a..0400f933 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -43,7 +43,7 @@ int main(int argc, char** argv) { for (const HashProbeLine &line : response.line()) { std::cout << FormatMove(line.move()) << " "; std::cout << line.found() << " "; - for (const HashProbeMove &move : line.pv()) { + for (const HashProbeMove &move : line.pv()) { std::cout << FormatMove(move) << ","; } std::cout << " "; @@ -60,13 +60,13 @@ int main(int argc, char** argv) { case HashProbeLine::BOUND_LOWER: std::cout << ">="; break; - } - switch (line.value().score_type()) { - case HashProbeScore::SCORE_CP: - std::cout << " cp " << line.value().score_cp() << " "; + } + switch (line.value().score_type()) { + case HashProbeScore::SCORE_CP: + std::cout << " cp " << line.value().score_cp() << " "; break; - case HashProbeScore::SCORE_MATE: - std::cout << " mate " << line.value().score_mate() << " "; + case HashProbeScore::SCORE_MATE: + std::cout << " mate " << line.value().score_mate() << " "; break; } std::cout << line.depth() << std::endl; diff --git a/src/hashprobe.h b/src/hashprobe.h index 27c491f5..42c13eef 100644 --- a/src/hashprobe.h +++ b/src/hashprobe.h @@ -35,4 +35,4 @@ private: std::unique_ptr server; }; -#endif +#endif -- 2.39.2