X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.cpp;h=63c3e995ab30b22f33191faf22a881350fe19cf9;hp=b730dbeb63bafd6adc78424f8aba0ceb3983a22d;hb=dadf6a6fe9874fa2efb91f14b5b6456fdd8483b2;hpb=23db43e698cfc697779a708f1dea43496c549c1d diff --git a/src/tt.cpp b/src/tt.cpp index b730dbeb..63c3e995 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -70,8 +70,9 @@ void TranspositionTable::set_size(size_t mbSize) { { std::cerr << "Failed to allocate " << mbSize << " MB for transposition table." << std::endl; - Application::exit_with_failure(); + exit(EXIT_FAILURE); } + clear(); } }