X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=inline;f=src%2Ftt.h;h=2cc1a3c5d3bfa8a394045e9df9db5d6b854b0bff;hb=553655eb073cdd59c726dd77fcf368d499029467;hp=39c161df1660575a8017e3e368337476b040c3e8;hpb=b76c04c0975326d3274d7d7fb6df4edef7a040b5;p=stockfish diff --git a/src/tt.h b/src/tt.h index 39c161df..2cc1a3c5 100644 --- a/src/tt.h +++ b/src/tt.h @@ -146,10 +146,7 @@ struct SimpleHash { typedef SimpleHash Base; - void init() { - - if (entries) - return; + SimpleHash() { entries = new (std::nothrow) Entry[HashSize]; if (!entries)