aboutsummaryrefslogtreecommitdiffstats
path: root/Assembly.cpp
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2015-06-08 18:09:24 +0800
committerPaweł Bylica <chfast@gmail.com>2015-06-08 18:09:24 +0800
commit87a56b2bfe28655532964c69e43e5b2dc67cd38b (patch)
tree25bf5f0ffeadfb91eb9cacc9af15760c081432aa /Assembly.cpp
parentdc462dcb6e41da200557434a33461705d039bdc8 (diff)
downloaddexon-solidity-87a56b2bfe28655532964c69e43e5b2dc67cd38b.tar
dexon-solidity-87a56b2bfe28655532964c69e43e5b2dc67cd38b.tar.gz
dexon-solidity-87a56b2bfe28655532964c69e43e5b2dc67cd38b.tar.bz2
dexon-solidity-87a56b2bfe28655532964c69e43e5b2dc67cd38b.tar.lz
dexon-solidity-87a56b2bfe28655532964c69e43e5b2dc67cd38b.tar.xz
dexon-solidity-87a56b2bfe28655532964c69e43e5b2dc67cd38b.tar.zst
dexon-solidity-87a56b2bfe28655532964c69e43e5b2dc67cd38b.zip
Remove pessimising moves.
Diffstat (limited to 'Assembly.cpp')
-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