diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-12-18 11:06:10 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2018-12-18 11:06:10 +0000 |
commit | decb935acf29d72c447d4179dc03b149fe613ba3 (patch) | |
tree | 550604b13ec1c53805235353494188c4706b86d6 /searchcore | |
parent | 94a80f1c8e036b28dd84b98cae21465824b365ce (diff) |
Return information if a buffer is held.
Use std::make_unique.
Minor unifying cleanup.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp index 63d815ffe82..de1a09ab6d3 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp @@ -56,8 +56,7 @@ LidAllocator::peekFreeLid(DocId lidLimit) } void -LidAllocator::ensureSpace(uint32_t newSize, - uint32_t newCapacity) +LidAllocator::ensureSpace(uint32_t newSize, uint32_t newCapacity) { _freeLids.resizeVector(newSize, newCapacity); _usedLids.resizeVector(newSize, newCapacity); |