Minor code style tweaks

No functional change.
This commit is contained in:
DU-jdto
2018-07-17 06:53:50 +10:00
committed by Stéphane Nicolet
parent ee0f5cd303
commit a05793517f
5 changed files with 13 additions and 13 deletions

View File

@@ -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);