mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
Everywhere: Remove pessimizing and redundant move()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user