summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/attribute
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-10-15 10:37:22 +0000
committerArne Juul <arnej@verizonmedia.com>2020-10-15 11:22:15 +0000
commitd78c40cb1330fea628684b9aaa8aa993fd70eecc (patch)
tree363455ec2a4feea9caca72c70a8880caa5825062 /searchcore/src/tests/proton/attribute
parent08393e9e14635f1c6a6c84650c25023a0db7ed0b (diff)
simplify
Diffstat (limited to 'searchcore/src/tests/proton/attribute')
-rw-r--r--searchcore/src/tests/proton/attribute/attribute_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/attribute/attribute_test.cpp b/searchcore/src/tests/proton/attribute/attribute_test.cpp
index 00153402fc9..b30420ead24 100644
--- a/searchcore/src/tests/proton/attribute/attribute_test.cpp
+++ b/searchcore/src/tests/proton/attribute/attribute_test.cpp
@@ -641,8 +641,7 @@ TEST_F(FilterAttributeManagerTest, readable_attribute_vector_filters_attributes)
namespace {
Value::UP make_tensor(const TensorSpec &spec) {
- auto tensor = EngineOrFactory::get().from_spec(spec);
- return tensor;
+ return EngineOrFactory::get().from_spec(spec);
}
const vespalib::string sparse_tensor = "tensor(x{},y{})";