Fix compile on icc

Error is:

  a value of type "int" cannot be assigned to an entity of type "Value"

Also retire the now unused squares_of_color() function.

No functional change.
This commit is contained in:
Marco Costalba
2015-06-25 05:15:09 +02:00
parent e8cc5c9968
commit 3f1bc9e013
4 changed files with 4 additions and 11 deletions

View File

@@ -149,7 +149,7 @@ void MovePicker::score<CAPTURES>() {
// calls in case we get a cutoff.
for (auto& m : *this)
m.value = PieceValue[MG][pos.piece_on(to_sq(m))]
- 200 * relative_rank(pos.side_to_move(), to_sq(m));
- Value(200 * relative_rank(pos.side_to_move(), to_sq(m)));
}
template<>