From 1dec9388aabb40c2324d3765b9da7424ab4dc4cf Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 26 May 2025 02:07:06 +0200 Subject: [PATCH] cleanup --- Sources/AXorcist/Utils/TreeTraversal.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AXorcist/Utils/TreeTraversal.swift b/Sources/AXorcist/Utils/TreeTraversal.swift index 30000f9..040c0f0 100644 --- a/Sources/AXorcist/Utils/TreeTraversal.swift +++ b/Sources/AXorcist/Utils/TreeTraversal.swift @@ -124,7 +124,7 @@ public class CollectAllVisitor: TreeVisitor { // Assuming SearchCriteriaUtils.criteriaMatch is accessible here. // If not, this logic needs to be adapted or the function made available. // Defaulting matchAll to true, as filters usually imply all conditions must pass. - let matchesFilter = SearchCriteriaUtils.criteriaMatch( + let matchesFilter = criteriaMatch( element: element, criteria: criteria, matchAll: true,