X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=ed7c380079d8d5c4ad54dde9cee54eae550848e0;hp=7cf3e60723206324a1ec24b8b886c1b8b4d60bba;hb=ecc5ff6693f116f4a8ae5f5080252f29b279c0a1;hpb=7ea5659c5fe0325f1b6ee5fec06ecd0f066e81c3 diff --git a/src/movepick.cpp b/src/movepick.cpp index 7cf3e607..ed7c3800 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -238,8 +238,8 @@ void MovePicker::generate_next_stage() { /// a new pseudo legal move every time it is called, until there are no more moves /// left. It picks the move with the biggest value from a list of generated moves /// taking care not to return the ttMove if it has already been searched. -template<> -Move MovePicker::next_move() { + +Move MovePicker::next_move() { Move move; @@ -320,10 +320,3 @@ Move MovePicker::next_move() { } } } - - -/// Version of next_move() to use at split point nodes where the move is grabbed -/// from the split point's shared MovePicker object. This function is not thread -/// safe so must be lock protected by the caller. -template<> -Move MovePicker::next_move() { return ss->splitPoint->movePicker->next_move(); }