mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 16:16:23 +08:00
Replace Position::copy()
With assignment operator. And fix Position::flip(). No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -434,7 +434,7 @@ void ThreadsManager::start_searching(const Position& pos, const LimitsType& limi
|
||||
Signals.stopOnPonderhit = Signals.firstRootMove = false;
|
||||
Signals.stop = Signals.failedLowAtRoot = false;
|
||||
|
||||
RootPosition.copy(pos, main_thread());
|
||||
RootPosition = pos;
|
||||
Limits = limits;
|
||||
RootMoves.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user