aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-05-12 13:28:36 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-05-12 13:28:36 +0000
commit2b9d5158ffd67d49bc23ea25044f62c0c36b2070 (patch)
treeb0ea03fbad1468bc242789ddba1fa786c61da9a0 /searchcore
parent579ce1c7cee8880426b76fc24ad14e02282d880b (diff)
Use SmallVector to avoid allocation in the common case.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
index 7b7d590d913..162db5d8760 100644
--- a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
+++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
@@ -213,7 +213,7 @@ private:
}
public:
WhiteListBlueprint(const search::BitVector &activeLids, bool all_lids_active)
- : SimpleLeafBlueprint(FieldSpecBaseList()),
+ : SimpleLeafBlueprint(),
_activeLids(activeLids),
_all_lids_active(all_lids_active),
_lock(),