aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-12-18 11:06:10 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2018-12-18 11:06:10 +0000
commitdecb935acf29d72c447d4179dc03b149fe613ba3 (patch)
tree550604b13ec1c53805235353494188c4706b86d6 /searchcore
parent94a80f1c8e036b28dd84b98cae21465824b365ce (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.cpp3
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);