aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/queryeval/blueprint/mysearch.h
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-05-12 14:21:34 +0000
committerArne Juul <arnej@verizonmedia.com>2020-05-12 14:29:42 +0000
commita72a4afc5d33c175f360460f727e5d51c9574fac (patch)
tree45c9aaa3c940d26ae99b22ed3077a6b8b69b3757 /searchlib/src/tests/queryeval/blueprint/mysearch.h
parentaa958f364f43e58a0e8fff81b4e2e77513f22a7b (diff)
own the filter in a class and use shared_from_this
Diffstat (limited to 'searchlib/src/tests/queryeval/blueprint/mysearch.h')
-rw-r--r--searchlib/src/tests/queryeval/blueprint/mysearch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/queryeval/blueprint/mysearch.h b/searchlib/src/tests/queryeval/blueprint/mysearch.h
index f0400fb1d90..ae1d47e8403 100644
--- a/searchlib/src/tests/queryeval/blueprint/mysearch.h
+++ b/searchlib/src/tests/queryeval/blueprint/mysearch.h
@@ -132,7 +132,7 @@ public:
set_cost_tier(value);
return *this;
}
- void set_global_filter(std::shared_ptr<BitVector>) override {
+ void set_global_filter(GlobalFilter &) override {
_got_global_filter = true;
}
bool got_global_filter() const { return _got_global_filter; }