mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Correct std::array intialization (again!)
This commit is contained in:
parent
c7116998ae
commit
a2492d4983
1 changed files with 2 additions and 5 deletions
|
|
@ -23,12 +23,9 @@ namespace jit
|
|||
Ext::Ext(RuntimeManager& _runtimeManager, Memory& _memoryMan):
|
||||
RuntimeHelper(_runtimeManager),
|
||||
m_memoryMan(_memoryMan)
|
||||
#ifdef __MSCVER
|
||||
,
|
||||
m_funcs({}), // The only std::array initialization that works in both Visual Studio & GCC
|
||||
m_argAllocas({})
|
||||
#endif
|
||||
{
|
||||
m_funcs = decltype(m_funcs)();
|
||||
m_argAllocas = decltype(m_argAllocas)();
|
||||
m_size = m_builder.CreateAlloca(Type::Size, nullptr, "env.size");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue