X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=a229027970b73bfdbf2e844331b4ac16843b9596;hp=dbab6fc106c833652069b5185b73339f2862db63;hb=c15b132f033881b7bc0e8c76698d928798dff921;hpb=0ba814b3ca97a98c38cf561cee676b61cd600763 diff --git a/src/ucioption.cpp b/src/ucioption.cpp index dbab6fc1..a2290279 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -139,13 +139,12 @@ Option::operator std::string() const { /// operator<<() inits options and assigns idx in the correct printing order -Option& Option::operator<<(const Option& o) { +void Option::operator<<(const Option& o) { static size_t index = 0; *this = o; idx = index++; - return *this; }