You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by sh...@apache.org on 2016/06/28 17:43:52 UTC
[2/4] incubator-quickstep git commit: removed const before rvalue
references
removed const before rvalue references
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/79b1014b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/79b1014b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/79b1014b
Branch: refs/heads/move-semantic-in-window-plan
Commit: 79b1014bc73d2ce161f351aeaab6c4b8eca02188
Parents: 87c5428
Author: shixuan-fan <sh...@apache.org>
Authored: Mon Jun 27 19:52:04 2016 +0000
Committer: shixuan-fan <sh...@apache.org>
Committed: Mon Jun 27 19:52:04 2016 +0000
----------------------------------------------------------------------
query_optimizer/logical/Sort.hpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/79b1014b/query_optimizer/logical/Sort.hpp
----------------------------------------------------------------------
diff --git a/query_optimizer/logical/Sort.hpp b/query_optimizer/logical/Sort.hpp
index 25f0ada..2233151 100644
--- a/query_optimizer/logical/Sort.hpp
+++ b/query_optimizer/logical/Sort.hpp
@@ -115,9 +115,9 @@ class Sort : public Logical {
static SortPtr Create(
const LogicalPtr &input,
- const std::vector<expressions::AttributeReferencePtr> &&sort_attributes,
- const std::vector<bool> &&sort_ascending,
- const std::vector<bool> &&nulls_first_flags,
+ std::vector<expressions::AttributeReferencePtr> &&sort_attributes,
+ std::vector<bool> &&sort_ascending,
+ std::vector<bool> &&nulls_first_flags,
const int limit) {
return SortPtr(new Sort(input,
std::move(sort_attributes),
@@ -151,9 +151,9 @@ class Sort : public Logical {
}
Sort(const LogicalPtr &input,
- const std::vector<expressions::AttributeReferencePtr> &&sort_attributes,
- const std::vector<bool> &&sort_ascending,
- const std::vector<bool> &&nulls_first_flags,
+ std::vector<expressions::AttributeReferencePtr> &&sort_attributes,
+ std::vector<bool> &&sort_ascending,
+ std::vector<bool> &&nulls_first_flags,
const int limit)
: input_(input),
sort_attributes_(std::move(sort_attributes)),