mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Don't store Thread info in Position
But use the newly introduced local storage for this. A good code semplification and also the correct way to go. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -77,7 +77,7 @@ namespace {
|
||||
string fen = sides[0] + char('0' + int(8 - code.length()))
|
||||
+ sides[1] + "/8/8/8/8/8/8/8 w - - 0 10";
|
||||
|
||||
return Position(fen, false, NULL).material_key();
|
||||
return Position(fen, false).material_key();
|
||||
}
|
||||
|
||||
template<typename M>
|
||||
|
||||
Reference in New Issue
Block a user