X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.h;fp=src%2Fucioption.h;h=0be8c7e39d4734b3cbf8ba918a4c0958ac08d4b9;hp=c57cf021e8c681ab7c389cac8c5143e53ee97c61;hb=775488340e7f4c5054157a56461f8e76c733089e;hpb=7d2530873e6eb2b46ca2ffb548f9b993bbe1de41 diff --git a/src/ucioption.h b/src/ucioption.h index c57cf021..0be8c7e3 100644 --- a/src/ucioption.h +++ b/src/ucioption.h @@ -38,7 +38,7 @@ public: UCIOption(const char* v, Fn* = NULL); UCIOption(int v, int min, int max, Fn* = NULL); - void operator=(const std::string& v); + UCIOption& operator=(const std::string& v); operator int() const { assert(type == "check" || type == "spin");