ExpressionParser: std::move() tokens vector to parser

This commit is contained in:
Michael M 2017-06-08 00:23:38 -07:00
parent 31f1c06226
commit 294b1895ef
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ static ParseResult ParseComplexExpression(const std::string& str)
if (tokenize_status != ParseStatus::Successful)
return {tokenize_status};
return Parser(tokens).Parse();
return Parser(std::move(tokens)).Parse();
}
static std::unique_ptr<Expression> ParseBarewordExpression(const std::string& str)