summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2018-04-10 12:36:06 +0000
committerHåvard Pettersen <havardpe@oath.com>2018-04-10 12:36:06 +0000
commite1adb19d0913c5d4a2509f589c55efb9db53401d (patch)
treeeb58a65198766d0e14b3019cb9ed7066af9449cb /searchcore
parentfc7459c8590fcc61cfa8875734e364ccafa70583 (diff)
allow not unpacking the whitelist iterator
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
index 4fda4489225..63d815ffe82 100644
--- a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
+++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
@@ -224,6 +224,8 @@ public:
setEstimate(HitEstimate(_activeLids.size(), false));
}
+ bool isWhiteList() const override { return true; }
+
~WhiteListBlueprint() {
for (auto matchData : _matchDataVector) {
delete matchData;