X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=180414c76ab93268f663f8452c35e7e67dea4508;hp=011bec694ff3c52639c8a4a86a74a4515b910f3b;hb=15153a1de71d2d36c1f95eecfcf036fb76565309;hpb=c89762288b0a9b016a20b596b3e2543c03cd233a diff --git a/src/search.cpp b/src/search.cpp index 011bec69..180414c7 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -129,7 +129,7 @@ namespace { void extract_pv_from_tt(Position& pos); void insert_pv_in_tt(Position& pos); - std::string pv_info_to_uci(const Position& pos, Value alpha, Value beta, int pvLine = 0); + std::string pv_info_to_uci(Position& pos, Value alpha, Value beta, int pvLine = 0); int64_t nodes; Value pv_score; @@ -2633,7 +2633,7 @@ split_point_start: // At split points actual search starts from here // formatted according to UCI specification and eventually writes the info // to a log file. It is called at each iteration or after a new pv is found. - std::string RootMove::pv_info_to_uci(const Position& pos, Value alpha, Value beta, int pvLine) { + std::string RootMove::pv_info_to_uci(Position& pos, Value alpha, Value beta, int pvLine) { std::stringstream s, l; Move* m = pv;