projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5154ac9
)
Fix a MSVC warning at W4
author
Marco Costalba
<mcostalba@gmail.com>
Mon, 19 Jan 2015 07:11:43 +0000 (08:11 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 25 Jan 2015 08:36:05 +0000 (09:36 +0100)
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
patch
|
blob
|
history
diff --git
a/src/endgame.h
b/src/endgame.h
index
8a42eda
..
d7a7681
100644
(file)
--- a/
src/endgame.h
+++ b/
src/endgame.h
@@
-89,7
+89,7
@@
struct Endgame : public EndgameBase<T> {
T operator()(const Position&) const;
private:
- const Color strongSide, weakSide;
+ Color strongSide, weakSide;
};