diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-05-12 14:21:34 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-05-12 14:29:42 +0000 |
commit | a72a4afc5d33c175f360460f727e5d51c9574fac (patch) | |
tree | 45c9aaa3c940d26ae99b22ed3077a6b8b69b3757 /searchlib/src/tests/queryeval/blueprint/mysearch.h | |
parent | aa958f364f43e58a0e8fff81b4e2e77513f22a7b (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.h | 2 |
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; } |