X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbenchmark.cpp;h=cbb62d29d111d9dae122cded936ba98a604f46e8;hb=7614501362896ddee902c1257f1b56ad148bc4d3;hp=33c1a1a9982c061ae5672eeaa4d3245322498696;hpb=fa80479b1db2ba1d99dfc983f017759ecf160aab;p=stockfish 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") {