Rename Position::list
[stockfish] / src / pawns.cpp
index f3ceadbe130f481221eb8ffe553093ce7d3867a5..47f74f84ee77888d60dacf0e03251977d3cc82ff 100644 (file)
@@ -110,7 +110,7 @@ namespace {
     Square s;
     bool passed, isolated, opposed, backward, lever, connected;
     Score score = SCORE_ZERO;
-    const Square* pl = pos.list<PAWN>(Us);
+    const Square* pl = pos.squares<PAWN>(Us);
     const Bitboard* pawnAttacksBB = StepAttacksBB[make_piece(Us, PAWN)];
 
     Bitboard ourPawns   = pos.pieces(Us  , PAWN);