From ae9d41f9ce565bae40282012e8caf9c4f8cf4b8b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 18 Feb 2016 08:39:07 -0800 Subject: [PATCH] Remove an incorrect std::move() --- src/parser/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp index 2fbcbfbd..c0843c0c 100644 --- a/src/parser/parser.cpp +++ b/src/parser/parser.cpp @@ -331,7 +331,7 @@ Predicate parse(const std::string &query) if (out_predicate.type == Predicate::Type::And && out_predicate.cpnd.sub_predicates.size() == 1) { return std::move(out_predicate.cpnd.sub_predicates.back()); } - return std::move(out_predicate); + return out_predicate; } void analyze_grammar()