mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08:00
Use move assignment in movegen.h
No functional change and same speed (tested with perft)
This commit is contained in:
@@ -245,7 +245,7 @@ void MovePicker::generate_next_stage() {
|
||||
/* Fall through */
|
||||
|
||||
case STOP:
|
||||
endMoves = cur + 1; // Avoid another next_phase() call
|
||||
endMoves = cur + 1; // Avoid another generate_next_stage() call
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user