From: Marco Costalba Date: Mon, 19 Jan 2015 07:11:43 +0000 (+0100) Subject: Fix a MSVC warning at W4 X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=ca3622f8e86746b066f75db449b1e8beac111b6c Fix a MSVC warning at W4 Warning is C4512 (assignment operator could not be generated) Now, apart the foreign syzygy code, everything compiles without warnings at warning level 4. No functional change. --- diff --git a/src/endgame.h b/src/endgame.h index 453d8b29..392788cf 100644 --- a/src/endgame.h +++ b/src/endgame.h @@ -90,7 +90,7 @@ struct Endgame : public EndgameBase { T operator()(const Position&) const; private: - const Color strongSide, weakSide; + Color strongSide, weakSide; };