X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=d2b37478e4ce681714fc11b654986da82a016209;hp=e5b5f5aa4a85dd7a2aa2c26222d8c6f2822b477b;hb=e68ebe618c82aa2e22016d1e9474861162914002;hpb=74160ac60266f9e6824a5a6417d8a0ac8c0b39cf diff --git a/src/position.h b/src/position.h index e5b5f5aa..d2b37478 100644 --- a/src/position.h +++ b/src/position.h @@ -27,6 +27,10 @@ // Forcing value to bool 'true' or 'false' (performance warning) #pragma warning(disable: 4800) +// Conditional expression is constant +#pragma warning(disable: 4127) + + #endif //// @@ -305,7 +309,7 @@ private: void allow_ooo(Color c); // Helper functions for doing and undoing moves - void do_capture_move(Move m, PieceType capture, Color them, Square to); + void do_capture_move(PieceType capture, Color them, Square to); void do_castle_move(Move m); void do_promotion_move(Move m); void do_ep_move(Move m);