Merge pull request #357 from ethereum/unnecesary-move

Remove unnecesary std::move
This commit is contained in:
chriseth 2016-01-15 14:56:37 +01:00
commit cc4b4f5077

View File

@ -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();