X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=93014bd0ac8a30bcf2288092192ab38638a35cd9;hp=d711d743a7a455a5db265715c62facc1f301ddeb;hb=c19a6ef82d97840f3d5f06d587bce4f8b861b86d;hpb=5e905800887da94d481978d3bddd9539b2111458 diff --git a/src/search.cpp b/src/search.cpp index d711d743..93014bd0 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -51,6 +51,11 @@ using std::endl; using Eval::evaluate; using namespace Search; +// For some reason argument-dependent lookup (ADL) doesn't work for Android's +// STLPort, so explicitly qualify following functions. +using std::count; +using std::find; + namespace { // Set to true to force running with one thread. Used for debugging @@ -1052,7 +1057,6 @@ split_point_start: // At split points actual search starts from here // Step 19. Check for split if ( !SpNode && depth >= Threads.min_split_depth() - && depth - reduction(depth, moveCount) >= Threads.min_split_depth() && bestValue < beta && Threads.available_slave_exists(thisThread) && !Signals.stop