]> git.sesse.net Git - stockfish/commit
Fix a compilation error for MSVC
authorStéphane Nicolet <cassio@free.fr>
Fri, 27 Jul 2018 13:46:13 +0000 (15:46 +0200)
committerStéphane Nicolet <cassio@free.fr>
Fri, 27 Jul 2018 13:46:13 +0000 (15:46 +0200)
commit9ca014df497de8b3fa4a1da75e8af8a567141a90
tree9668c43a187bf3130c7ff891ac7992754a74ecee
parente12fc10b5cf4ac1518a18a54c4e368ef2dc55bfc
Fix a compilation error for MSVC

The previous commit wouldn't compile on the Microsoft Virtual Studio C++ compiler. So use a more compatible style for the same idea (which we already use in numerous places of evaluate.cpp, for instance in line 563).

Under the Clang compiler, both versions generate exactly the same machine code (same md5 signatures for the two binaries).

No functional change.
src/evaluate.cpp