X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftt.h;h=5c3ddc5269de6e302f2b50566705c13a1f01b79f;hp=c37b9d3ff6f74c96bbfe3853d8747f0f72804933;hb=823a5918e73e47585cdf3c4504d9f7e85e18b7cc;hpb=6442981cb649d2008275f12564aeeb69e73f41f5 diff --git a/src/tt.h b/src/tt.h index c37b9d3f..5c3ddc52 100644 --- a/src/tt.h +++ b/src/tt.h @@ -56,7 +56,7 @@ public: memset(entries, 0, HashSize * sizeof(Entry)); } - ~SimpleHash() { delete [] entries; } + virtual ~SimpleHash() { delete [] entries; } Entry* find(Key key) const { return entries + ((uint32_t)key & (HashSize - 1)); }