summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-05-19 22:52:22 +0200
committerTor Egge <Tor.Egge@online.no>2024-05-19 22:52:22 +0200
commit7d057ea51f67675b8214e99c64c0729471aa5dd3 (patch)
tree6a617f9f0d7ed5c11683fa799e4a605dabce988e /searchsummary
parent6e3cc46cf6717b58ab658d1efe6b44df0dbae77a (diff)
Use const auto* to indicate that variable is a pointer.
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/slime_filler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/slime_filler.cpp b/searchsummary/src/vespa/searchsummary/docsummary/slime_filler.cpp
index 6ec65c06996..8ee9938b260 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/slime_filler.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/slime_filler.cpp
@@ -325,7 +325,7 @@ SlimeFiller::visit(const WeightedSetFieldValue& value)
void
SlimeFiller::visit(const TensorFieldValue& value)
{
- const auto tensor = value.getAsTensorPtr();
+ const auto* tensor = value.getAsTensorPtr();
vespalib::nbostream s;
if (tensor) {
encode_value(*tensor, s);