song/StringFilter: use std::string::operator==
This commit is contained in:
parent
08e41e60e5
commit
b34bc06624
|
@ -34,6 +34,6 @@ StringFilter::Match(const char *s) const noexcept
|
||||||
if (fold_case) {
|
if (fold_case) {
|
||||||
return fold_case.IsIn(s);
|
return fold_case.IsIn(s);
|
||||||
} else {
|
} else {
|
||||||
return StringIsEqual(s, value.c_str());
|
return value == s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue