]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Make operator<< to return void
[stockfish] / src / ucioption.cpp
index dbab6fc106c833652069b5185b73339f2862db63..a229027970b73bfdbf2e844331b4ac16843b9596 100644 (file)
@@ -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;
 }