X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbook.cpp;h=95ccd690506251c284dc557905a53d5c1cc6711f;hp=7cb0863c11158b2f414a0c2868d0a8041b5b3cf9;hb=efeb37c33f15a903dbe5706529a7a26511e9ca58;hpb=00d9fe8af09891e82d66f88c48b513d6a7326f2a diff --git a/src/book.cpp b/src/book.cpp index 7cb0863c..95ccd690 100644 --- a/src/book.cpp +++ b/src/book.cpp @@ -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); } }