mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Minor code style tweaks
No functional change.
This commit is contained in:
committed by
Stéphane Nicolet
parent
ee0f5cd303
commit
a05793517f
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user