mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 18:46:59 +08:00
Assorted trivial cleanups (July 2019)
No functional change
This commit is contained in:
committed by
Stéphane Nicolet
parent
66a3c2968b
commit
7efc39d683
@@ -377,6 +377,8 @@ inline Square pop_lsb(Bitboard* b) {
|
||||
|
||||
|
||||
/// frontmost_sq() returns the most advanced square for the given color
|
||||
inline Square frontmost_sq(Color c, Bitboard b) { return c == WHITE ? msb(b) : lsb(b); }
|
||||
inline Square frontmost_sq(Color c, Bitboard b) {
|
||||
return c == WHITE ? msb(b) : lsb(b);
|
||||
}
|
||||
|
||||
#endif // #ifndef BITBOARD_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user