Fix printing of empty info strings.

Handle printing of `info string` in a single place.

Fixes #5386

closes https://github.com/official-stockfish/Stockfish/pull/5387

No functional change
This commit is contained in:
Tomasz Sobczyk
2024-06-12 16:54:15 +02:00
committed by Joost VandeVondele
parent 3d92950859
commit 7c0607d2d3
4 changed files with 28 additions and 11 deletions
+2
View File
@@ -58,6 +58,8 @@ class UCIEngine {
Engine engine;
CommandLine cli;
static void print_info_string(const std::string& str);
void go(std::istringstream& is);
void bench(std::istream& args);
void position(std::istringstream& is);