X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.h;h=669999bffda36a04e8eed44651f467af5136cfda;hp=a9c21ffb1ef77a61e1bfce8c4db02fb6bf226aaa;hb=80ea80e4515e8ed7033ab2a8b22463865fb68979;hpb=860223c5e6b2df53af0415dbbbfdd4834f083708 diff --git a/src/pawns.h b/src/pawns.h index a9c21ffb..669999bf 100644 --- a/src/pawns.h +++ b/src/pawns.h @@ -45,10 +45,6 @@ struct Entry { return semiopenFiles[c] & (1 << f); } - int semiopen_side(Color c, File f, bool leftSide) const { - return semiopenFiles[c] & (leftSide ? (1 << f) - 1 : ~((1 << (f + 1)) - 1)); - } - int pawns_on_same_color_squares(Color c, Square s) const { return pawnsOnSquares[c][bool(DarkSquares & s)]; }