mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Explicitly defaulted and deleted members
Better than a bit obscure implicit ones. No functional change.
This commit is contained in:
2
src/tt.h
2
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
|
||||
|
||||
Reference in New Issue
Block a user