mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add some more explicit moves required in some compiler and boost version combinations.
This commit is contained in:
parent
cd8cf7745b
commit
11969cd760
@ -38,7 +38,7 @@ void ForLoopInitRewriter::operator()(Block& _block)
|
||||
vector<Statement> rewrite;
|
||||
swap(rewrite, forLoop.pre.statements);
|
||||
rewrite.emplace_back(move(forLoop));
|
||||
return rewrite;
|
||||
return std::move(rewrite);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ void SSATransform::operator()(Block& _block)
|
||||
varDecl.value
|
||||
));
|
||||
v.emplace_back(move(varDecl));
|
||||
return v;
|
||||
return std::move(v);
|
||||
}
|
||||
else if (_s.type() == typeid(Assignment))
|
||||
{
|
||||
@ -115,7 +115,7 @@ void SSATransform::operator()(Block& _block)
|
||||
assignment.value
|
||||
));
|
||||
v.emplace_back(move(assignment));
|
||||
return v;
|
||||
return std::move(v);
|
||||
}
|
||||
else
|
||||
visit(_s);
|
||||
|
Loading…
Reference in New Issue
Block a user