mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2112 from chfast/refactor_move_override
Pessimising moves and missing overrides
This commit is contained in:
commit
6cc76baeac
@ -109,7 +109,7 @@ string Assembly::getLocationFromSources(StringMap const& _sourceCodes, SourceLoc
|
|||||||
if (newLinePos != string::npos)
|
if (newLinePos != string::npos)
|
||||||
cut = cut.substr(0, newLinePos) + "...";
|
cut = cut.substr(0, newLinePos) + "...";
|
||||||
|
|
||||||
return move(cut);
|
return cut;
|
||||||
}
|
}
|
||||||
|
|
||||||
ostream& Assembly::streamAsm(ostream& _out, string const& _prefix, StringMap const& _sourceCodes) const
|
ostream& Assembly::streamAsm(ostream& _out, string const& _prefix, StringMap const& _sourceCodes) const
|
||||||
|
Loading…
Reference in New Issue
Block a user