@@ -879,7 +879,7 @@ TEST_P(MatcherAmbiguousTest, ReentryWithRecursiveMatcher) {
879
879
std::shared_ptr<MatchTree<TestData>> top_matcher = createMatcherFromYaml (yaml)();
880
880
881
881
// Expect to hit each match once via repeated re-entry, including the recursive on-no-match.
882
- ReenterableMatchEvaluator<TestData> reenterable_matcher (top_matcher, false );
882
+ ReenterableMatchEvaluator<TestData> reenterable_matcher (top_matcher);
883
883
std::vector<ActionFactoryCb> skipped_results;
884
884
SkippedMatchCb<TestData> skipped_match_cb = [&skipped_results](const OnMatch<TestData>& match) {
885
885
skipped_results.push_back (match.action_cb_ );
@@ -1067,7 +1067,7 @@ TEST_P(MatcherAmbiguousTest, ReentryWithNestedPreviewMatchers) {
1067
1067
// keep_matching setting. The third nested match and on_no_match are not reached as the parent
1068
1068
// matcher has finished recursion with the second match, which would have been its returned action
1069
1069
// if the parent matcher wasn't skipped.
1070
- ReenterableMatchEvaluator<TestData> reenterable_matcher (top_matcher, false );
1070
+ ReenterableMatchEvaluator<TestData> reenterable_matcher (top_matcher);
1071
1071
std::vector<ActionFactoryCb> skipped_results;
1072
1072
SkippedMatchCb<TestData> skipped_match_cb = [&skipped_results](const OnMatch<TestData>& match) {
1073
1073
skipped_results.push_back (match.action_cb_ );
@@ -1122,7 +1122,7 @@ TEST_P(MatcherAmbiguousTest, KeepMatchingWithUnsupportedReentry) {
1122
1122
validation_visitor_.setSupportKeepMatching (true );
1123
1123
std::shared_ptr<MatchTree<TestData>> matcher = createMatcherFromYaml (yaml)();
1124
1124
1125
- ReenterableMatchEvaluator<TestData> reenterable_matcher (matcher, false );
1125
+ ReenterableMatchEvaluator<TestData> reenterable_matcher (matcher);
1126
1126
std::vector<ActionFactoryCb> skipped_results;
1127
1127
SkippedMatchCb<TestData> skipped_match_cb = [&skipped_results](const OnMatch<TestData>& match) {
1128
1128
skipped_results.push_back (match.action_cb_ );
0 commit comments