]> git.sesse.net Git - stockfish/blobdiff - src/notation.cpp
Rename first_1 / last_1 in lsb / msb
[stockfish] / src / notation.cpp
index 69a44d95bf8b8de90186fd423547bb4b577e750c..89b00c553da4b58a100b75274b99369da1834821 100644 (file)
@@ -108,7 +108,7 @@ const string move_to_san(Position& pos, Move m) {
 
           while (attackers)
           {
-              Square sq = pop_1st_bit(&attackers);
+              Square sq = pop_lsb(&attackers);
 
               // Pinned pieces are not included in the possible sub-set
               if (!pos.pl_move_is_legal(make_move(sq, to), pos.pinned_pieces()))