mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Rename piece_count and piece_list
No functional change.
This commit is contained in:
@@ -211,7 +211,7 @@ namespace {
|
||||
|
||||
assert(Pt != KING && Pt != PAWN);
|
||||
|
||||
const Square* pl = pos.piece_list(us, Pt);
|
||||
const Square* pl = pos.list<Pt>(us);
|
||||
|
||||
for (Square from = *pl; from != SQ_NONE; from = *++pl)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user