mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
Everywhere: Remove pessimizing and redundant move()
This commit is contained in:
parent
fa28cc85e6
commit
f59ad2dc57
9 changed files with 11 additions and 11 deletions
|
@ -1239,7 +1239,7 @@ RefPtr<AST::Node> Parser::parse_string()
|
|||
auto result = create<AST::StringLiteral>(move(text)); // String Literal
|
||||
if (is_error)
|
||||
result->set_is_syntax_error(*create<AST::SyntaxError>("Expected a terminating single quote", true));
|
||||
return move(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue