]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
Retire Application class
[stockfish] / src / benchmark.cpp
index 33c1a1a9982c061ae5672eeaa4d3245322498696..d0afee898695b50616b951987136d987e8af401d 100644 (file)
@@ -102,7 +102,7 @@ void benchmark(int argc, char* argv[]) {
       if (!fenFile.is_open())
       {
           cerr << "Unable to open positions file " << posFile << endl;
       if (!fenFile.is_open())
       {
           cerr << "Unable to open positions file " << posFile << endl;
-          Application::exit_with_failure();
+          exit(EXIT_FAILURE);
       }
       string pos;
       while (fenFile.good())
       }
       string pos;
       while (fenFile.good())