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:
parent
50a7200b18
commit
880726c13a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue