aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/docsummary/summaryfieldconverter_test.cpp
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/docsummary/summaryfieldconverter_test.cpp
parent08393e9e14635f1c6a6c84650c25023a0db7ed0b (diff)
simplify
Diffstat (limited to 'searchcore/src/tests/proton/docsummary/summaryfieldconverter_test.cpp')
-rw-r--r--searchcore/src/tests/proton/docsummary/summaryfieldconverter_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/docsummary/summaryfieldconverter_test.cpp b/searchcore/src/tests/proton/docsummary/summaryfieldconverter_test.cpp
index 6309f96b747..58b7838bf35 100644
--- a/searchcore/src/tests/proton/docsummary/summaryfieldconverter_test.cpp
+++ b/searchcore/src/tests/proton/docsummary/summaryfieldconverter_test.cpp
@@ -677,8 +677,7 @@ Test::requireThatPredicateIsPrinted()
}
Value::UP make_tensor(const TensorSpec &spec) {
- auto tensor = EngineOrFactory::get().from_spec(spec);
- return tensor;
+ return EngineOrFactory::get().from_spec(spec);
}
void