Fix move bug.

This commit is contained in:
chriseth 2020-10-28 17:21:08 +01:00
parent cfc1eb0029
commit b18d5ab257

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