From ca3622f8e86746b066f75db449b1e8beac111b6c 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. 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 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; }; -- 2.39.2