]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Minor code style tweaks
[stockfish] / src / ucioption.cpp
index 5c891421ec9447ae99d726a1bf9c7bb0dd5cecd0..1f120e11120b1034b3175d84a686b4512ea33668 100644 (file)
@@ -134,7 +134,7 @@ Option::operator std::string() const {
   return currentValue;
 }
 
   return currentValue;
 }
 
-bool Option::operator==(const char* s) {
+bool Option::operator==(const char* s) const {
   assert(type == "combo");
   return    !CaseInsensitiveLess()(currentValue, s)
          && !CaseInsensitiveLess()(s, currentValue);
   assert(type == "combo");
   return    !CaseInsensitiveLess()(currentValue, s)
          && !CaseInsensitiveLess()(s, currentValue);