Fixed ARM build with hwloc.

This commit is contained in:
XMRig 2019-07-31 09:38:27 +07:00
parent c138161ee2
commit ab0d3b8919
2 changed files with 6 additions and 4 deletions

View file

@ -36,10 +36,10 @@
xmrig::BasicCpuInfo::BasicCpuInfo() :
m_aes(false),
m_brand(),
m_avx2(false),
m_threads(std::thread::hardware_concurrency())
m_threads(std::thread::hardware_concurrency()),
m_aes(false),
m_avx2(false)
{
# ifdef XMRIG_ARMv8
memcpy(m_brand, "ARMv8", 5);