diff options
-rw-r--r-- | searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp | 3 |
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> |