Fix ARM build.
This commit is contained in:
parent
a7caf4cc66
commit
85af4e27ec
2 changed files with 42 additions and 4 deletions
|
@ -262,7 +262,7 @@ rapidjson::Value xmrig::BasicCpuInfo::toJSON(rapidjson::Document &doc) const
|
|||
out.AddMember("brand", StringRef(brand()), allocator);
|
||||
out.AddMember("aes", hasAES(), allocator);
|
||||
out.AddMember("avx2", hasAVX2(), allocator);
|
||||
out.AddMember("x64", ICpuInfo::isX64(), allocator);
|
||||
out.AddMember("x64", isX64(), allocator);
|
||||
out.AddMember("l2", static_cast<uint64_t>(L2()), allocator);
|
||||
out.AddMember("l3", static_cast<uint64_t>(L3()), allocator);
|
||||
out.AddMember("cores", static_cast<uint64_t>(cores()), allocator);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue