projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
712bbb0
)
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>
Mon, 19 Jan 2015 07:11:43 +0000 (08:11 +0100)
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
patch
|
blob
|
history
diff --git
a/src/endgame.h
b/src/endgame.h
index
453d8b2
..
392788c
100644
(file)
--- a/
src/endgame.h
+++ b/
src/endgame.h
@@
-90,7
+90,7
@@
struct Endgame : public EndgameBase<T> {
T operator()(const Position&) const;
private:
- const Color strongSide, weakSide;
+ Color strongSide, weakSide;
};