mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Rename class Book to PolyglotBook
And move struct BookEntry out of the header where it is not needed. No functional change.
This commit is contained in:
@@ -224,7 +224,7 @@ size_t Search::perft(Position& pos, Depth depth) {
|
||||
|
||||
void Search::think() {
|
||||
|
||||
static Book book; // Defined static to initialize the PRNG only once
|
||||
static PolyglotBook book; // Defined static to initialize the PRNG only once
|
||||
|
||||
Position& pos = RootPosition;
|
||||
Chess960 = pos.is_chess960();
|
||||
|
||||
Reference in New Issue
Block a user