mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 05:07:46 +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:
committed by
Joost VandeVondele
parent
22a502ac74
commit
90eca83e7f
+1
-1
@@ -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)};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user