mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Avoid aggregate initialization of EWasmToText class
This commit is contained in:
parent
d5744b3c1c
commit
ddc3ce0eae
@ -55,7 +55,7 @@ string EWasmCodeTransform::run(Dialect const& _dialect, yul::Block const& _ast)
|
|||||||
std::vector<wasm::FunctionImport> imports;
|
std::vector<wasm::FunctionImport> imports;
|
||||||
for (auto& imp: transform.m_functionsToImport)
|
for (auto& imp: transform.m_functionsToImport)
|
||||||
imports.emplace_back(std::move(imp.second));
|
imports.emplace_back(std::move(imp.second));
|
||||||
return EWasmToText{}.run(
|
return EWasmToText().run(
|
||||||
transform.m_globalVariables,
|
transform.m_globalVariables,
|
||||||
imports,
|
imports,
|
||||||
functions
|
functions
|
||||||
|
Loading…
Reference in New Issue
Block a user