1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 17:19:36 +00:00

Add const qualifer to go()

Obsolete renmant of when position was directly
passed to the search instead of being copied
for the main thread as is now.

From Jundery.

No functional change.
This commit is contained in:
Marco Costalba 2013-02-08 10:05:04 +01:00
parent 50a7200b18
commit 880726c13a

View file

@ -44,7 +44,7 @@ namespace {
void set_option(istringstream& up); void set_option(istringstream& up);
void set_position(Position& pos, istringstream& up); void set_position(Position& pos, istringstream& up);
void go(Position& pos, istringstream& up); void go(const Position& pos, istringstream& up);
} }
@ -182,7 +182,7 @@ namespace {
// the thinking time and other parameters from the input string, and starts // the thinking time and other parameters from the input string, and starts
// the search. // the search.
void go(Position& pos, istringstream& is) { void go(const Position& pos, istringstream& is) {
Search::LimitsType limits; Search::LimitsType limits;
vector<Move> searchMoves; vector<Move> searchMoves;