aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/queryeval
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-12-04 10:34:23 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-12-04 10:34:23 +0100
commit5c66bb9199a0c8e02282f5d3a38a08e3741918cf (patch)
tree860ceffda85d63299559b9d07ddee0a1b62a3311 /searchlib/src/tests/queryeval
parent555200c6f53a4ddb579181cac50a950c5647d854 (diff)
Eliminate inlining warnings.
Diffstat (limited to 'searchlib/src/tests/queryeval')
-rw-r--r--searchlib/src/tests/queryeval/predicate/predicate_search_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/searchlib/src/tests/queryeval/predicate/predicate_search_test.cpp b/searchlib/src/tests/queryeval/predicate/predicate_search_test.cpp
index efa01b79580..382e2bdb8ff 100644
--- a/searchlib/src/tests/queryeval/predicate/predicate_search_test.cpp
+++ b/searchlib/src/tests/queryeval/predicate/predicate_search_test.cpp
@@ -41,6 +41,8 @@ public:
{
}
+ ~MyPostingList() override;
+
bool next(uint32_t doc_id) override {
if (_index < _entries.size()) {
while (_entries[_index].first <= doc_id) {
@@ -70,6 +72,8 @@ public:
uint32_t getInterval() const override { return _interval; }
};
+MyPostingList::~MyPostingList() = default;
+
template <int N>
vector<PredicatePostingList::UP>
make_posting_lists_vector(MyPostingList (&plists)[N]) {