Fixed build.

This commit is contained in:
XMRig 2019-07-10 02:28:45 +07:00
parent f42adafee0
commit 3bebf778da
5 changed files with 12 additions and 5 deletions

View file

@ -124,8 +124,8 @@ static inline bool has_ossave()
xmrig::BasicCpuInfo::BasicCpuInfo() :
m_assembly(Assembly::NONE),
m_brand(),
m_aes(has_aes_ni()),
m_brand(),
m_avx2(has_avx2() && has_ossave()),
m_threads(std::thread::hardware_concurrency())
{