aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-10-05 21:45:37 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-10-05 21:45:37 +0000
commit4a8f5727a3b7d123f0e62279e109156f1ec53bf9 (patch)
tree1abdf8b68c938d1abf78199c856fc3ba259ebfaf /searchcore
parent43e2d929d983fdd9d2feaecfcdc385e1961a35b7 (diff)
Use ConstBufferRef and add some noexcept
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp
index daea227fe53..8e11c06622f 100644
--- a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp
+++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp
@@ -1066,8 +1066,7 @@ DocumentMetaStore::getBucketOf(const vespalib::GenerationHandler::Guard &, uint3
vespalib::GenerationHandler::Guard
DocumentMetaStore::getGuard() const
{
- const vespalib::GenerationHandler & genHandler = getGenerationHandler();
- return genHandler.takeGuard();
+ return getGenerationHandler().takeGuard();
}
uint64_t