X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=b195b871346cdd4b03a331a685a19d5294cf3969;hp=a9811a9af7352ae74308979a4751721b6bfcc042;hb=4c95edddbf1aaec22c343adaca4796df0137e4c3;hpb=94e41274bba2d8a2f2d58aaa711df5872309d66c diff --git a/src/uci.cpp b/src/uci.cpp index a9811a9a..b195b871 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -75,7 +75,7 @@ namespace { 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)); } } @@ -108,7 +108,7 @@ namespace { // 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;