diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp index daea227fe53..b936e4a3e1e 100644 --- a/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp +++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/documentmetastore.cpp @@ -1,4 +1,4 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "documentmetastore.h" #include "documentmetastoresaver.h" @@ -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 |