mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Workaround for older compiler
gcc < 5 doesn't fully support the c++11 `std::is_trivially_copyable<Entry>::value` Remove it, as it is not essential. fixes https://github.com/official-stockfish/Stockfish/issues/2681 closes https://github.com/official-stockfish/Stockfish/pull/2682 No functional change.
This commit is contained in:
parent
c6ce612f0a
commit
d116e27f0f
1 changed files with 0 additions and 1 deletions
|
@ -414,7 +414,6 @@ class TBTables {
|
|||
return (TBTable<Type>*)(Type == WDL ? (void*)wdl : (void*)dtz);
|
||||
}
|
||||
};
|
||||
static_assert(std::is_trivially_copyable<Entry>::value, "");
|
||||
|
||||
static constexpr int Size = 1 << 12; // 4K table, indexed by key's 12 lsb
|
||||
static constexpr int Overflow = 1; // Number of elements allowed to map to the last bucket
|
||||
|
|
Loading…
Add table
Reference in a new issue