aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-06-04 00:39:55 +0200
committerGitHub <noreply@github.com>2022-06-04 00:39:55 +0200
commit24a3487c20c02b450b9934f6d48431ec407678d5 (patch)
treef46054c8bd2bc0ad337adab885479f2439135459 /searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h
parent21e2f20a4f8b8299ddf01a5f337a8170934083de (diff)
parent5e683c18453928c7373f1fdadacd44f21518e47c (diff)
Merge pull request #22910 from vespa-engine/balder/no-need-to-copy-shared-ptr
Let ImportedAttributesRepo return a reference to a shared_ptr instead…
Diffstat (limited to 'searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h')
-rw-r--r--searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h b/searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h
index d39a8395595..853b2b54beb 100644
--- a/searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h
+++ b/searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h
@@ -29,9 +29,9 @@ public:
std::shared_ptr<attribute::ReadableAttributeVector> target_attribute,
std::shared_ptr<const IDocumentMetaStoreContext> target_document_meta_store,
std::shared_ptr<BitVectorSearchCache> search_cache);
- ~ImportedTensorAttributeVector();
+ ~ImportedTensorAttributeVector() override;
- virtual std::unique_ptr<attribute::AttributeReadGuard> makeReadGuard(bool stableEnumGuard) const override;
+ std::unique_ptr<attribute::AttributeReadGuard> makeReadGuard(bool stableEnumGuard) const override;
};
}