]> git.sesse.net Git - stockfish/blobdiff - src/book.cpp
Retire Application class
[stockfish] / src / book.cpp
index 7cb0863c11158b2f414a0c2868d0a8041b5b3cf9..95ccd690506251c284dc557905a53d5c1cc6711f 100644 (file)
@@ -376,7 +376,7 @@ void Book::open(const string& fName) {
           return;
   }
   cerr << "Failed to open book file " << fileName << endl;
-  Application::exit_with_failure();
+  exit(EXIT_FAILURE);
 }
 
 
@@ -496,7 +496,7 @@ void Book::read_entry(BookEntry& entry, int idx) {
   if (!good())
   {
       cerr << "Failed to read book entry at index " << idx << endl;
-      Application::exit_with_failure();
+      exit(EXIT_FAILURE);
   }
 }