]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.h
Remove conditional_more_than_two().
[stockfish] / src / bitboard.h
index 15ec4153362d82d1339e9657e19190cf2e118005..8c95de8c66c3b7a359a04dcb83fce04cd9cce52e 100644 (file)
@@ -130,12 +130,6 @@ constexpr bool more_than_one(Bitboard b) {
   return b & (b - 1);
 }
 
-/// Counts the occupation of the bitboard depending on the occupation of SQ_A1
-/// as in `b & (1ULL << SQ_A1) ? more_than_two(b) : more_than_one(b)`
-
-constexpr bool conditional_more_than_two(Bitboard b) {
-  return b & (b - 1) & (b - 2);
-}
 
 constexpr bool opposite_colors(Square s1, Square s2) {
   return (s1 + rank_of(s1) + s2 + rank_of(s2)) & 1;