From a91af7c7b27b31b5814dca5b56bfe384031582c5 Mon Sep 17 00:00:00 2001 From: Paul Carroll <57120760+carrollpaul@users.noreply.github.com> Date: Fri, 1 Aug 2025 11:19:29 -0400 Subject: [PATCH] Use existing typedef Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com> --- cockatrice/src/game/filters/filter_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/filters/filter_string.cpp b/cockatrice/src/game/filters/filter_string.cpp index 5e6bc0ee2..92966bab5 100644 --- a/cockatrice/src/game/filters/filter_string.cpp +++ b/cockatrice/src/game/filters/filter_string.cpp @@ -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 { + auto createMatcher = [](const QString &target) -> StringMatcher { return [target](const QString &s) -> bool { if (s.contains(target, Qt::CaseInsensitive)) { return true;