Merge pull request #2112 from chfast/refactor_move_override

Pessimising moves and missing overrides
This commit is contained in:
Gav Wood 2015-06-09 23:18:10 +09:00
commit 6cc76baeac

View File

@ -109,7 +109,7 @@ string Assembly::getLocationFromSources(StringMap const& _sourceCodes, SourceLoc
if (newLinePos != string::npos)
cut = cut.substr(0, newLinePos) + "...";
return move(cut);
return cut;
}
ostream& Assembly::streamAsm(ostream& _out, string const& _prefix, StringMap const& _sourceCodes) const