mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 20:57:10 +00:00
Small threat-related cleanups
Remove a couple unused things, mark `noRaysContaining` as `[[maybe_unused]]` (suggested by Viz) to silence a warning on GCC 10, update a comment, and replace inline constants closes https://github.com/official-stockfish/Stockfish/pull/6460 No functional change
This commit is contained in:
committed by
Disservin
parent
863c0ec6d0
commit
a98c3f6878
+1
-1
@@ -190,7 +190,7 @@ class Position {
|
||||
void update_piece_threats(Piece pc,
|
||||
Square s,
|
||||
DirtyThreats* const dts,
|
||||
Bitboard noRaysContaining = -1ULL);
|
||||
Bitboard noRaysContaining = -1ULL) const;
|
||||
void move_piece(Square from, Square to, DirtyThreats* const dts = nullptr);
|
||||
template<bool Do>
|
||||
void do_castling(Color us,
|
||||
|
||||
Reference in New Issue
Block a user