]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.h
Better check evasion move sorting
[stockfish] / src / bitboard.h
index 7ae1effd9487f036407f3429c8a5047ec6f52023..54df6c2d61878546202eeb07bded007df8b19489 100644 (file)
@@ -155,16 +155,6 @@ inline Bitboard file_bb(Square s) {
 }
 
 
-/// make_bitboard() returns a bitboard from a list of squares
-
-constexpr Bitboard make_bitboard() { return 0; }
-
-template<typename ...Squares>
-constexpr Bitboard make_bitboard(Square s, Squares... squares) {
-  return (1ULL << s) | make_bitboard(squares...);
-}
-
-
 /// shift() moves a bitboard one step along direction D (mainly for pawns)
 
 template<Direction D>