Use C++ loops in insert_pv_in_tt

Also small tweak to extract_ponder_from_tt

No functional change.
This commit is contained in:
Marco Costalba
2015-01-31 12:31:00 +01:00
parent bfd0f95f06
commit 45eac9507c
2 changed files with 22 additions and 19 deletions

View File

@@ -60,7 +60,7 @@ struct RootMove {
bool operator<(const RootMove& m) const { return score > m.score; } // Ascending sort
bool operator==(const Move& m) const { return pv[0] == m; }
void insert_pv_in_tt(Position& pos);
Move extract_ponder_from_tt(Position& pos);
bool extract_ponder_from_tt(Position& pos);
Value score;
Value previousScore;