Merge pull request #10136 from ethereum/fixMoveBug

Fix move bug.
This commit is contained in:
chriseth 2020-10-28 18:00:30 +01:00 committed by GitHub
commit 2dbb283ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ void SSAReverser::operator()(Block& _block)
VariableDeclaration{
std::move(varDecl->location),
std::move(varDecl->variables),
std::make_unique<Expression>(std::move(assignment->variableNames.front()))
std::make_unique<Expression>(assignment->variableNames.front())
}
);
}