mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7246 from ethereum/fix-7245
Avoid aggregate initialization of EWasmToText class
This commit is contained in:
commit
fb8137dfed
@ -55,7 +55,7 @@ string EWasmCodeTransform::run(Dialect const& _dialect, yul::Block const& _ast)
|
||||
std::vector<wasm::FunctionImport> 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
|
||||
|
Loading…
Reference in New Issue
Block a user