mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Use existing typedef
Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>
This commit is contained in:
parent
d73445dde5
commit
a91af7c7b2
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ static void setupParserRules()
|
|||
|
||||
search["StringValue"] = [](const peg::SemanticValues &sv) -> StringMatcher {
|
||||
// Extract common matching logic
|
||||
auto createMatcher = [](const QString &target) -> std::function<bool(const QString &)> {
|
||||
auto createMatcher = [](const QString &target) -> StringMatcher {
|
||||
return [target](const QString &s) -> bool {
|
||||
if (s.contains(target, Qt::CaseInsensitive)) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue