summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-02-15 16:05:22 +0100
committerTor Egge <Tor.Egge@online.no>2022-02-15 16:05:22 +0100
commitbbd39ad17baa58613f9046b849b9402ea40e5a7b (patch)
treee180190ca8c5f9906614b20fbf73ed0ec85b73a8 /searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
parent1e527535a2610b28c9218c636c9902379caccf32 (diff)
Propagate memory allocator to growable bitvector in SingleBoolAttribute.
Diffstat (limited to 'searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp')
-rw-r--r--searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp b/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
index de54386e4af..29f7b5c0276 100644
--- a/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
+++ b/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
@@ -1830,7 +1830,7 @@ private:
public:
BoolAttributeFixture(const SimpleResult& true_docs, uint32_t num_docs)
- : _attr("bool_attr", search::GrowStrategy())
+ : _attr("bool_attr", search::GrowStrategy(), false)
{
_attr.addDocs(num_docs);
for (uint32_t i = 0; i < true_docs.getHitCount(); ++i) {