X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=1f120e11120b1034b3175d84a686b4512ea33668;hp=5c891421ec9447ae99d726a1bf9c7bb0dd5cecd0;hb=a05793517f9c1e4483df7928473a1ff3a2a8d640;hpb=ee0f5cd3034d4da3349f1fd8b43aaafce908b22e diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 5c891421..1f120e11 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -134,7 +134,7 @@ Option::operator std::string() const { 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);