1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Simplify away a useless TTEntry::read()

Not needed when we don hit an entry.

closes https://github.com/official-stockfish/Stockfish/pull/5416

No functional change
This commit is contained in:
mstembera 2024-06-29 17:18:39 -07:00 committed by Joost VandeVondele
parent 22a502ac74
commit 90eca83e7f

View file

@ -238,7 +238,7 @@ std::tuple<bool, TTData, TTWriter> TranspositionTable::probe(const Key key) cons
> tte[i].depth8 - tte[i].relative_age(generation8) * 2)
replace = &tte[i];
return {false, replace->read(), TTWriter(replace)};
return {false, TTData(), TTWriter(replace)};
}