mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Small cleanups (march 2021)
With help of @BM123499, @mstembera, @gvreuls, @noobpwnftw and @Fanael Thanks! Closes https://github.com/official-stockfish/Stockfish/pull/3405 No functional change
This commit is contained in:
@@ -182,7 +182,8 @@ namespace {
|
||||
|
||||
Bitboard bb = piecesToMove & pos.pieces(Pt);
|
||||
|
||||
while (bb) {
|
||||
while (bb)
|
||||
{
|
||||
Square from = pop_lsb(bb);
|
||||
|
||||
Bitboard b = attacks_bb<Pt>(from, pos.pieces()) & target;
|
||||
|
||||
Reference in New Issue
Block a user