aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-10-15 11:35:33 +0000
committerArne Juul <arnej@verizonmedia.com>2020-10-15 11:35:33 +0000
commit5824d277f0aad866643431af7610f808d9d9198c (patch)
tree847b617347e8804d464c26e1235b871c9de0c147
parent1210a91e2861882ba25187db1f239da78474deeb (diff)
simplify
-rw-r--r--searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp
index a41672569ce..aa2abce57f3 100644
--- a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp
+++ b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp
@@ -411,8 +411,7 @@ getTensorDataType(const vespalib::string &spec)
std::unique_ptr<Value>
makeTensor(const TensorSpec &spec)
{
- auto result = EngineOrFactory::get().from_spec(spec);
- return result;
+ return EngineOrFactory::get().from_spec(spec);
}
std::unique_ptr<TensorFieldValue>