mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 02:57:11 +08:00
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.
This commit is contained in:
@@ -89,7 +89,7 @@ struct Endgame : public EndgameBase<T> {
|
|||||||
T operator()(const Position&) const;
|
T operator()(const Position&) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const Color strongSide, weakSide;
|
Color strongSide, weakSide;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user