X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.h;h=54df6c2d61878546202eeb07bded007df8b19489;hp=7ae1effd9487f036407f3429c8a5047ec6f52023;hb=12e79be91039796299187ba1b2f1559552642ea4;hpb=06e0134cbc9bcf16d01738c491ec53869a5205b6 diff --git a/src/bitboard.h b/src/bitboard.h index 7ae1effd..54df6c2d 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -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 -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