]> git.sesse.net Git - stockfish/commitdiff
Fix MSVC errors in tbprobe.cpp
authormstembera <MissingEmail@email>
Wed, 16 May 2018 21:38:13 +0000 (23:38 +0200)
committerStéphane Nicolet <cassio@free.fr>
Wed, 16 May 2018 21:40:23 +0000 (23:40 +0200)
Default template parameters values and recursive functions do not play well
together. Fix for below errors that showed up after updating to latest MSVC.

````
tbprobe.cpp(1156): error C2672:
    'search': no matching overloaded function found

tbprobe.cpp(1198): error C2783:
  'Tablebases::WDLScore `anonymous-namespace'::search(Position &,Tablebases::ProbeState *)':
could not deduce template argument for 'CheckZeroingMoves'

````

Closes https://github.com/official-stockfish/Stockfish/pull/1594

No functional change.


No differences found