diff options
author | Håvard Pettersen <havardpe@oath.com> | 2018-04-10 12:36:06 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2018-04-10 12:36:06 +0000 |
commit | e1adb19d0913c5d4a2509f589c55efb9db53401d (patch) | |
tree | eb58a65198766d0e14b3019cb9ed7066af9449cb /searchcore | |
parent | fc7459c8590fcc61cfa8875734e364ccafa70583 (diff) |
allow not unpacking the whitelist iterator
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp | 2 |
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; |