aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-06-09 22:18:10 +0800
committerGav Wood <g@ethdev.com>2015-06-09 22:18:10 +0800
commit6cc76baeaca0b9da785d089081709a1e680aac5a (patch)
treeb24b5819f89709f634635e2a6d34667741477cc2
parent27ac4d6d6facefcd5a8bf4156f920afaeacbeeef (diff)
parent87a56b2bfe28655532964c69e43e5b2dc67cd38b (diff)
downloaddexon-solidity-6cc76baeaca0b9da785d089081709a1e680aac5a.tar.gz
dexon-solidity-6cc76baeaca0b9da785d089081709a1e680aac5a.tar.zst
dexon-solidity-6cc76baeaca0b9da785d089081709a1e680aac5a.zip
Merge pull request #2112 from chfast/refactor_move_override
Pessimising moves and missing overrides
-rw-r--r--Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assembly.cpp b/Assembly.cpp
index 8642824f..3557fc0e 100644
--- a/Assembly.cpp
+++ b/Assembly.cpp
@@ -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