X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=d0afee898695b50616b951987136d987e8af401d;hp=33c1a1a9982c061ae5672eeaa4d3245322498696;hb=6080fecf9cba9ac063f8f07bd25004c14016bd33;hpb=fa80479b1db2ba1d99dfc983f017759ecf160aab diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 33c1a1a9..d0afee89 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())