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=8ebf30d44a7ca1d708f2a1bb659d2817baaa6850 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. Backported from C++11 branch. No functional change. --- diff --git a/src/endgame.h b/src/endgame.h index 8a42eda2..d7a7681a 100644 --- a/src/endgame.h +++ b/src/endgame.h @@ -89,7 +89,7 @@ struct Endgame : public EndgameBase { T operator()(const Position&) const; private: - const Color strongSide, weakSide; + Color strongSide, weakSide; };