Further smplify pawn endgames

Dumb down a bit the code and trade some possible
speed (but this is far from hot path anyhow) for
some added readability for the layman.

No functional change.
This commit is contained in:
Marco Costalba
2013-10-23 15:50:20 +02:00
parent 3674f18b97
commit 67b0da83da
2 changed files with 29 additions and 38 deletions

View File

@@ -91,7 +91,7 @@ struct Endgame : public EndgameBase<T> {
T operator()(const Position&) const;
private:
Color strongSide, weakSide;
const Color strongSide, weakSide;
};