Retire RootMoveList

Diretcly use the underlying std::vector<Move> and the
STL algorithms. Also a bit of cleanup while there.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-12-12 17:55:20 +01:00
parent 7d97ebfe7f
commit 4e59c5c274
5 changed files with 104 additions and 139 deletions

View File

@@ -233,7 +233,6 @@ namespace {
searchMoves.push_back(move_from_uci(pos, token));
}
searchMoves.push_back(MOVE_NONE);
limits.time = time[pos.side_to_move()];
limits.increment = inc[pos.side_to_move()];