summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-09-16 12:30:37 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-09-16 12:30:37 +0200
commit2f98f68badbc1f198fb22541da11a283200d1578 (patch)
treebe15ffe311b72a4cd5785b129450cb7b6a87b584 /searchcore
parentfbec690f200794c7fe0a2eedf1e2a03ff35ee0aa (diff)
Remove redundant move.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/unpacking_iterators_optimizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/unpacking_iterators_optimizer.cpp b/searchcore/src/vespa/searchcore/proton/matching/unpacking_iterators_optimizer.cpp
index fc510d3c206..af355452c73 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/unpacking_iterators_optimizer.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/unpacking_iterators_optimizer.cpp
@@ -122,7 +122,7 @@ UnpackingIteratorsOptimizer::optimize(search::query::Node::UP root,
root = std::move(and_node);
}
}
- return std::move(root);
+ return root;
}
} // namespace proton::matching