Remove an incorrect std::move()

This commit is contained in:
Thomas Goyne 2016-02-18 08:39:07 -08:00
parent 87655793b7
commit ae9d41f9ce
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ Predicate parse(const std::string &query)
if (out_predicate.type == Predicate::Type::And && out_predicate.cpnd.sub_predicates.size() == 1) { 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.cpnd.sub_predicates.back());
} }
return std::move(out_predicate); return out_predicate;
} }
void analyze_grammar() void analyze_grammar()