]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Second cleanup wave on check_is_useless()
[stockfish] / src / position.h
index cc70bcf815fbd8c58cf3366f9afca5905f5dd6d3..bb574e1642f263b7b380ac6be6f618b4faa47bb2 100644 (file)
@@ -197,6 +197,7 @@ public:
   // Information about attacks to or from a given square
   Bitboard attackers_to(Square s) const;
   Bitboard attacks_from(Piece p, Square s) const;
+  static Bitboard attacks_from(Piece p, Square s, Bitboard occ);
   template<PieceType> Bitboard attacks_from(Square s) const;
   template<PieceType> Bitboard attacks_from(Square s, Color c) const;