]> git.sesse.net Git - stockfish/blobdiff - src/tt.h
Revert C++11 merge
[stockfish] / src / tt.h
index 14f820d0cb6677637615f7d21b312514ed2d26fe..7343c525fc6847da40c83c3168fdfa857446f73a 100644 (file)
--- a/src/tt.h
+++ b/src/tt.h
@@ -81,13 +81,12 @@ class TranspositionTable {
     char padding[2]; // Align to the cache line size
   };
 
-  static_assert(sizeof(Cluster) == CacheLineSize / 2, "Cluster size incorrect");
-
 public:
  ~TranspositionTable() { free(mem); }
   void new_search() { generation8 += 4; } // Lower 2 bits are used by Bound
   uint8_t generation() const { return generation8; }
   TTEntry* probe(const Key key, bool& found) const;
+  int hashfull() const;
   void resize(size_t mbSize);
   void clear();