mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #357 from ethereum/unnecesary-move
Remove unnecesary std::move
This commit is contained in:
commit
cc4b4f5077
@ -145,7 +145,7 @@ ASTPointer<ImportDirective> Parser::parseImportDirective()
|
|||||||
expectToken(Token::As);
|
expectToken(Token::As);
|
||||||
alias = expectIdentifierToken();
|
alias = expectIdentifierToken();
|
||||||
}
|
}
|
||||||
symbolAliases.push_back(move(make_pair(move(id), move(alias))));
|
symbolAliases.push_back(make_pair(move(id), move(alias)));
|
||||||
if (m_scanner->currentToken() != Token::Comma)
|
if (m_scanner->currentToken() != Token::Comma)
|
||||||
break;
|
break;
|
||||||
m_scanner->next();
|
m_scanner->next();
|
||||||
|
Loading…
Reference in New Issue
Block a user