Do not return the stream in asssemblyStream

This commit is contained in:
Alex Beregszaszi
2017-09-11 15:48:58 +01:00
parent a535a8b06e
commit 50570c6c79
6 changed files with 9 additions and 12 deletions
+2 -3
View File
@@ -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;
}
}