Rename squares_aligned()

Rename to the shorter but still
clear aligned()

No functional change.
This commit is contained in:
Marco Costalba
2013-11-10 17:14:46 +01:00
parent a518d5d3ad
commit 1d18647e73
3 changed files with 5 additions and 5 deletions

View File

@@ -223,10 +223,10 @@ inline Bitboard squares_of_color(Square s) {
}
/// squares_aligned() returns true if the squares s1, s2 and s3 are aligned
/// aligned() returns true if the squares s1, s2 and s3 are aligned
/// either on a straight or on a diagonal line.
inline bool squares_aligned(Square s1, Square s2, Square s3) {
inline bool aligned(Square s1, Square s2, Square s3) {
return LineBB[s1][s2] & s3;
}