Fixed ARM build with hwloc.

This commit is contained in:
XMRig
2019-07-31 09:38:27 +07:00
parent e9e846a413
commit de27837cb3
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);