]> git.sesse.net Git - stockfish/blobdiff - src/tt.h
Update Makefile for Mac OS X compilation
[stockfish] / src / tt.h
index 7343c525fc6847da40c83c3168fdfa857446f73a..32b4036e39dea085974410867b7212facfc6c625 100644 (file)
--- a/src/tt.h
+++ b/src/tt.h
@@ -81,6 +81,8 @@ 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