aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-01-15 21:56:37 +0800
committerchriseth <c@ethdev.com>2016-01-15 21:56:37 +0800
commitcc4b4f507784d67a7f53c5cbaee5a99fc6fe9e2d (patch)
treebd464a80167dce734c3e01e6a594ca70f4abcec2
parentca45cfee8c3a1013a174b3fe499e7361c5f6d3d8 (diff)
parent31863528a40b412702df7b7170890d9c5166379c (diff)
downloaddexon-solidity-cc4b4f507784d67a7f53c5cbaee5a99fc6fe9e2d.tar.gz
dexon-solidity-cc4b4f507784d67a7f53c5cbaee5a99fc6fe9e2d.tar.zst
dexon-solidity-cc4b4f507784d67a7f53c5cbaee5a99fc6fe9e2d.zip
Merge pull request #357 from ethereum/unnecesary-move
Remove unnecesary std::move
-rw-r--r--libsolidity/parsing/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp
index 7dd3564d..4ac3381c 100644
--- a/libsolidity/parsing/Parser.cpp
+++ b/libsolidity/parsing/Parser.cpp
@@ -145,7 +145,7 @@ ASTPointer<ImportDirective> Parser::parseImportDirective()
expectToken(Token::As);
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)
break;
m_scanner->next();