mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
Don't inline lambda
Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>
This commit is contained in:
parent
a91af7c7b2
commit
6ef3f61b65
1 changed files with 2 additions and 1 deletions
|
|
@ -206,7 +206,8 @@ static void setupParserRules()
|
|||
|
||||
const auto target = std::any_cast<QStringList>(sv[0]);
|
||||
return [=](const QString &s) -> bool {
|
||||
return std::any_of(target.begin(), target.end(), [&](const QString &str) { return createMatcher(str)(s); });
|
||||
auto containsString = [&](const QString &str) { return createMatcher(str)(s); };
|
||||
return std::any_of(target.begin(), target.end(), containsString);
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue