X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=190a30f8c8c613f22dcd8351ed3609ce1ac66986;hp=face865af823be4309803b19faf61b5782447a26;hb=6c040c821a50475840607ef5f11c270ee21d61da;hpb=20e92895af45ec9599110506eea231fc689c05ba diff --git a/src/movepick.cpp b/src/movepick.cpp index face865a..190a30f8 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -52,7 +52,7 @@ namespace { // pick_best() finds the best move in the range (begin, end) and moves it to // the front. It's faster than sorting all the moves in advance when there // are few moves e.g. the possible captures. - inline Move pick_best(ExtMove* begin, ExtMove* end) + Move pick_best(ExtMove* begin, ExtMove* end) { std::swap(*begin, *std::max_element(begin, end)); return *begin;