From ddc3ce0eae256f5a7357584d61d79953cc8b2fec Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Wed, 14 Aug 2019 12:07:37 +0200 Subject: [PATCH] Avoid aggregate initialization of EWasmToText class --- libyul/backends/wasm/EWasmCodeTransform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyul/backends/wasm/EWasmCodeTransform.cpp b/libyul/backends/wasm/EWasmCodeTransform.cpp index 3bcc18fe8..f9e28e94a 100644 --- a/libyul/backends/wasm/EWasmCodeTransform.cpp +++ b/libyul/backends/wasm/EWasmCodeTransform.cpp @@ -55,7 +55,7 @@ string EWasmCodeTransform::run(Dialect const& _dialect, yul::Block const& _ast) std::vector imports; for (auto& imp: transform.m_functionsToImport) imports.emplace_back(std::move(imp.second)); - return EWasmToText{}.run( + return EWasmToText().run( transform.m_globalVariables, imports, functions