diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-21 22:55:35 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-01-21 22:55:35 +0000 |
commit | 3ede2b7a11b2a8750fda2078f9502dd1087e304b (patch) | |
tree | 8899396c74ace2db0bd9295d77a27cff5b0a8987 | |
parent | 471f8f32520dd8d2b327a9ac5cf06c558e9216ad (diff) |
Remove explicit inline.
-rw-r--r-- | searchlib/src/vespa/searchlib/tensor/hnsw_index.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/tensor/hnsw_index.h b/searchlib/src/vespa/searchlib/tensor/hnsw_index.h index 617eb85076e..8d348d13f15 100644 --- a/searchlib/src/vespa/searchlib/tensor/hnsw_index.h +++ b/searchlib/src/vespa/searchlib/tensor/hnsw_index.h @@ -117,7 +117,7 @@ protected: void mutual_reconnect(const LinkArrayRef &cluster, uint32_t level); void remove_link_to(uint32_t remove_from, uint32_t remove_id, uint32_t level); - inline TypedCells get_vector(uint32_t nodeid) const { + TypedCells get_vector(uint32_t nodeid) const { if constexpr (NodeType::identity_mapping) { return _vectors.get_vector(nodeid, 0); } else { @@ -127,10 +127,10 @@ protected: return _vectors.get_vector(docid, subspace); } } - inline TypedCells get_vector(uint32_t docid, uint32_t subspace) const { + TypedCells get_vector(uint32_t docid, uint32_t subspace) const { return _vectors.get_vector(docid, subspace); } - inline VectorBundle get_vectors(uint32_t docid) const { + VectorBundle get_vectors(uint32_t docid) const { return _vectors.get_vectors(docid); } |