summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/queryeval/blueprint/mysearch.h
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/queryeval/blueprint/mysearch.h')
-rw-r--r--searchlib/src/tests/queryeval/blueprint/mysearch.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/searchlib/src/tests/queryeval/blueprint/mysearch.h b/searchlib/src/tests/queryeval/blueprint/mysearch.h
index 79c9885bb7d..e3b86a0eb84 100644
--- a/searchlib/src/tests/queryeval/blueprint/mysearch.h
+++ b/searchlib/src/tests/queryeval/blueprint/mysearch.h
@@ -109,9 +109,9 @@ class MyLeaf : public SimpleLeafBlueprint
public:
SearchIterator::UP
- createLeafSearch(const TFMDA &tfmda, bool strict) const override
+ createLeafSearch(const TFMDA &tfmda) const override
{
- return std::make_unique<MySearch>("leaf", tfmda, strict);
+ return std::make_unique<MySearch>("leaf", tfmda, strict());
}
MyLeaf() : SimpleLeafBlueprint() {}
@@ -141,8 +141,8 @@ public:
// make public
using LeafBlueprint::set_want_global_filter;
- SearchIteratorUP createFilterSearch(bool strict, FilterConstraint constraint) const override {
- return create_default_filter(strict, constraint);
+ SearchIteratorUP createFilterSearch(FilterConstraint constraint) const override {
+ return create_default_filter(constraint);
}
};