X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fpiece.h;fp=src%2Fpiece.h;h=6592de1a8bbf1d2b04a34b51f9a24c706ef673c1;hb=a5ae7fe26030bdd73a95fde3ebe841abfe84ec5e;hp=40a01e1005401ee7c807c22746484f77945b52ad;hpb=94b9c65e09b5d396bebb29b62d9979139b5fbdfa;p=stockfish diff --git a/src/piece.h b/src/piece.h index 40a01e10..6592de1a 100644 --- a/src/piece.h +++ b/src/piece.h @@ -43,6 +43,9 @@ enum Piece { BP = 9, BN = 10, BB = 11, BR = 12, BQ = 13, BK = 14, PIECE_NONE = 16 }; +ENABLE_OPERATORS_ON(PieceType); +ENABLE_OPERATORS_ON(Piece); + //// //// Constants