diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-03-21 22:25:33 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-03-21 22:36:43 +0100 |
commit | 61edf22b1c31ce9b55b8e3fd0a99e5978348322c (patch) | |
tree | 5328beafc37fca72a5704a32a6d4985cee89e2ee /eval | |
parent | 3d8209623f7f4e15a1f99b3e33f42dac9c9f7cb2 (diff) |
Eliminate redundant move in return statement.
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/eval/test/eval_fixture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/vespa/eval/eval/test/eval_fixture.cpp b/eval/src/vespa/eval/eval/test/eval_fixture.cpp index 57db05107bc..7c4d4caf854 100644 --- a/eval/src/vespa/eval/eval/test/eval_fixture.cpp +++ b/eval/src/vespa/eval/eval/test/eval_fixture.cpp @@ -15,7 +15,7 @@ std::shared_ptr<Function const> verify_function(std::shared_ptr<Function const> fprintf(stderr, "eval_fixture: function parse failed: %s\n", fun->get_error().c_str()); } ASSERT_TRUE(!fun->has_error()); - return std::move(fun); + return fun; } NodeTypes get_types(const Function &function, const ParamRepo ¶m_repo) { |