X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=cbb62d29d111d9dae122cded936ba98a604f46e8;hp=33c1a1a9982c061ae5672eeaa4d3245322498696;hb=6a5dc14251451c6b8618f3d567d5eda420012ddf;hpb=fa80479b1db2ba1d99dfc983f017759ecf160aab diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 33c1a1a9..cbb62d29 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -102,7 +102,7 @@ void benchmark(int argc, char* argv[]) { if (!fenFile.is_open()) { cerr << "Unable to open positions file " << posFile << endl; - Application::exit_with_failure(); + exit(EXIT_FAILURE); } string pos; while (fenFile.good()) @@ -125,7 +125,7 @@ void benchmark(int argc, char* argv[]) { { Move moves[1] = { MOVE_NONE }; int dummy[2] = { 0, 0 }; - Position pos(*it, 0); + Position pos(*it, false, 0); cerr << "\nBench position: " << cnt << '/' << positions.size() << endl << endl; if (valType == "perft") {