From 8ebf30d44a7ca1d708f2a1bb659d2817baaa6850 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 19 Jan 2015 08:11:43 +0100 Subject: [PATCH] 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. --- src/endgame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.39.2