X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.h;h=0be8c7e39d4734b3cbf8ba918a4c0958ac08d4b9;hp=c57cf021e8c681ab7c389cac8c5143e53ee97c61;hb=9dbda6652e129be1cd68231500da9918ab10e390;hpb=55376219b7cd17c1dc5d8361e969f30e5421e87e 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");