mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-13 15:54:59 +00:00
Merge pull request #46 from realm/tg/remove-inorrect-move
Remove an incorrect std::move()
This commit is contained in:
commit
d87c41b352
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user