From cb4966046d9871b63084ddcf0ff6fac8a4c322aa Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 5 May 2017 18:56:29 +0100 Subject: Enable a single right hand item on let --- libsolidity/inlineasm/AsmPrinter.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libsolidity/inlineasm/AsmPrinter.cpp') diff --git a/libsolidity/inlineasm/AsmPrinter.cpp b/libsolidity/inlineasm/AsmPrinter.cpp index 845aefb9..219a57ad 100644 --- a/libsolidity/inlineasm/AsmPrinter.cpp +++ b/libsolidity/inlineasm/AsmPrinter.cpp @@ -129,12 +129,7 @@ string AsmPrinter::operator()(assembly::VariableDeclaration const& _variableDecl ", " ); out += " := "; - out += boost::algorithm::join( - _variableDeclaration.values | boost::adaptors::transformed( - [this](Statement statement) { return boost::apply_visitor(*this, statement); } - ), - ", " - ); + out += boost::apply_visitor(*this, *_variableDeclaration.value); return out; } -- cgit