X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=ae530c2a0244e2d69b56bf3115536e4c9ed31e97;hp=2cc1a3c5d3bfa8a394045e9df9db5d6b854b0bff;hb=32d3a07c6710e84d78999cb69c6a866b0bfff482;hpb=b978eb05dcce5eb874bb45e30af854d332b9738f diff --git a/src/tt.h b/src/tt.h index 2cc1a3c5..ae530c2a 100644 --- a/src/tt.h +++ b/src/tt.h @@ -139,7 +139,7 @@ inline void TranspositionTable::refresh(const TTEntry* tte) const { /// A simple fixed size hash table used to store pawns and material /// configurations. It is basically just an array of Entry objects. -/// Without cluster concept or overwrite policy. +/// Without cluster concept, overwrite policy nor resizing. template struct SimpleHash { @@ -153,7 +153,7 @@ struct SimpleHash { { std::cerr << "Failed to allocate " << HashSize * sizeof(Entry) << " bytes for hash table." << std::endl; - exit(EXIT_FAILURE); + ::exit(EXIT_FAILURE); } memset(entries, 0, HashSize * sizeof(Entry)); }