while (is >> token && (m = UCI::to_move(pos, token)) != MOVE_NONE)
{
States->push_back(StateInfo());
- pos.do_move(m, States->back(), pos.gives_check(m, CheckInfo(pos)));
+ pos.do_move(m, States->back(), pos.gives_check(m));
}
}
// the thinking time and other parameters from the input string, then starts
// the search.
- void go(const Position& pos, istringstream& is) {
+ void go(Position& pos, istringstream& is) {
Search::LimitsType limits;
string token;