X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmaterial.cpp;h=69588c8cd597f79c8413bed432b13f2ebeecb2b4;hb=5c81602d14539f8259a715477315e28b5de7cb54;hp=442dab56089729aaa72c4cdfcf9a76883253d163;hpb=cc8e915ed5fa95fc9cde500e7aac3c4dfe7d2daa;p=stockfish diff --git a/src/material.cpp b/src/material.cpp index 442dab56..69588c8c 100644 --- a/src/material.cpp +++ b/src/material.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 @@ -90,7 +90,7 @@ MaterialInfoTable::MaterialInfoTable(unsigned int numOfEntries) { { std::cerr << "Failed to allocate " << (numOfEntries * sizeof(MaterialInfo)) << " bytes for material hash table." << std::endl; - exit(EXIT_FAILURE); + Application::exit_with_failure(); } clear(); }