From: Marco Costalba Date: Wed, 14 Sep 2016 13:43:56 +0000 (+0200) Subject: Retire MovePicker::see_sign() X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=01ee509a5c33e11d7d62d2f325f55720d8be9cfb Retire MovePicker::see_sign() No more used after last patch. No functional change. --- diff --git a/src/movepick.cpp b/src/movepick.cpp index 9611315c..622ef8a9 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -179,11 +179,6 @@ void MovePicker::score() { m.value = history[pos.moved_piece(m)][to_sq(m)] + fromTo.get(c, m); } -int MovePicker::see_sign() const -{ - return stage == GOOD_CAPTURES ? 1 - : stage == BAD_CAPTURES ? -1 : 0; -} /// next_move() is the most important method of the MovePicker class. It returns /// a new pseudo legal move every time it is called, until there are no more moves diff --git a/src/movepick.h b/src/movepick.h index 1e1b8e6d..36bf58f6 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -104,7 +104,6 @@ public: MovePicker(const Position&, Move, Depth, Search::Stack*); Move next_move(); - int see_sign() const; private: template void score();