X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftt.cpp;h=3651cbb294901529ba9089fc80700cba526a9613;hb=20c2a314642b8fb911a8e00895544581d4ee2dda;hp=83eaf800ac480aabd64856c5d02ac3b27d8cffa5;hpb=aabd526f7c9cec1d1f6a8f7da738311487aa42b8;p=stockfish diff --git a/src/tt.cpp b/src/tt.cpp index 83eaf800..3651cbb2 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008 Marco Costalba + Copyright (C) 2008-2009 Marco Costalba Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -69,7 +69,7 @@ void TranspositionTable::set_size(unsigned mbSize) { { std::cerr << "Failed to allocate " << mbSize << " MB for transposition table." << std::endl; - exit(EXIT_FAILURE); + Application::exit_with_failure(); } clear(); }