]> git.sesse.net Git - stockfish/commitdiff
Fix two compile errors in new endgame code
authorMarco Costalba <mcostalba@gmail.com>
Fri, 17 Jul 2009 17:16:20 +0000 (19:16 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 17 Jul 2009 18:29:25 +0000 (19:29 +0100)
Code that compiles cleanly under MSVC triggers one
compile error (correct) under Intel C++ and two(!)
under gcc.

The first is the same complained by Intel, but the second
is an interesting corner case of C++ standard (there are many)
that is correctly spotted only by gcc.

Both MSVC and Intel pass this silently, probably to avoid
breaking people code.

Now we are fully C++ compliant ;-)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found