aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-30 08:58:19 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-11 22:48:58 +0800
commit50570c6c794eee01af64751c884fb6cb68f8dffc (patch)
tree5ed3c757106ddba44ad2194c773ad70317c9272b /libsolidity/interface/CompilerStack.cpp
parenta535a8b06ed1b9c0c5fd41805a4fe39939755f05 (diff)
downloaddexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar.gz
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar.zst
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.zip
Do not return the stream in asssemblyStream
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r--libsolidity/interface/CompilerStack.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp
index 4002bac3..5f62bb03 100644
--- a/libsolidity/interface/CompilerStack.cpp
+++ b/libsolidity/interface/CompilerStack.cpp
@@ -347,15 +347,14 @@ eth::LinkerObject const& CompilerStack::cloneObject(string const& _contractName)
return contract(_contractName).cloneObject;
}
-ostream& CompilerStack::assemblyStream(ostream& _outStream, string const& _contractName, StringMap _sourceCodes) const
+void CompilerStack::assemblyStream(ostream& _outStream, string const& _contractName, StringMap _sourceCodes) const
{
Contract const& currentContract = contract(_contractName);
if (currentContract.compiler)
- return currentContract.compiler->assemblyStream(_outStream, _sourceCodes);
+ currentContract.compiler->assemblyStream(_outStream, _sourceCodes);
else
{
_outStream << "Contract not fully implemented" << endl;
- return _outStream;
}
}