diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-06-04 00:39:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 00:39:55 +0200 |
commit | 24a3487c20c02b450b9934f6d48431ec407678d5 (patch) | |
tree | f46054c8bd2bc0ad337adab885479f2439135459 /searchlib/src/vespa/searchlib/tensor/imported_tensor_attribute_vector.h | |
parent | 21e2f20a4f8b8299ddf01a5f337a8170934083de (diff) | |
parent | 5e683c18453928c7373f1fdadacd44f21518e47c (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.h | 4 |
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; }; } |