X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=a95420cad99bdff8363572d17b752f967b019638;hp=519f6af87f28f61c81bf232e79074d74eabee424;hb=8ceb1ff53bf4b9aa9609d39f11bcb540a70ce4a5;hpb=40b1b2717827b5516c7d3978bdc341e801a650e7 diff --git a/src/types.h b/src/types.h index 519f6af8..a95420ca 100644 --- a/src/types.h +++ b/src/types.h @@ -209,7 +209,7 @@ const Piece Pieces[] = { W_PAWN, W_KNIGHT, W_BISHOP, W_ROOK, W_QUEEN, W_KING, B_PAWN, B_KNIGHT, B_BISHOP, B_ROOK, B_QUEEN, B_KING }; extern Value PieceValue[PHASE_NB][PIECE_NB]; -enum Depth { +enum Depth : int { ONE_PLY = 1,