mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08:00
Retire RootMoveList
Diretcly use the underlying std::vector<Move> and the STL algorithms. Also a bit of cleanup while there. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -443,7 +443,7 @@ void ThreadsManager::start_thinking(const Position& pos, const LimitsType& limit
|
||||
// Copy input arguments to initialize the search
|
||||
RootPosition.copy(pos, 0);
|
||||
Limits = limits;
|
||||
RootMoves = searchMoves;
|
||||
SearchMoves = searchMoves;
|
||||
|
||||
// Reset signals before to start the new search
|
||||
memset((void*)&Signals, 0, sizeof(Signals));
|
||||
|
||||
Reference in New Issue
Block a user