X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=43b01bc9f6e13d8f324b2d33376b7d805a62ed76;hp=ac2ca0e78d9a4ea5d0b5497244de1f14339855f2;hb=a6e0f62a4f83bf4303e920d5f689de7cbc0467e8;hpb=db4cd89cb889446fb349d0d93640b640b1b9a8a1 diff --git a/src/types.h b/src/types.h index ac2ca0e7..43b01bc9 100644 --- a/src/types.h +++ b/src/types.h @@ -335,8 +335,6 @@ namespace Zobrist { extern Key castle[CASTLE_RIGHT_NB]; extern Key side; extern Key exclusion; - - void init(); } extern Value PieceValue[PHASE_NB][PIECE_NB]; @@ -359,10 +357,6 @@ inline Square operator~(Square s) { return Square(s ^ 56); // Vertical flip SQ_A1 -> SQ_A8 } -inline Piece operator~(Piece c) { - return Piece(c ^ 8); -} - inline Square operator|(File f, Rank r) { return Square((r << 3) | f); }