diff --git a/src/backend/cpu/platform/BasicCpuInfo.cpp b/src/backend/cpu/platform/BasicCpuInfo.cpp index e1cda353f..b7a428c0f 100644 --- a/src/backend/cpu/platform/BasicCpuInfo.cpp +++ b/src/backend/cpu/platform/BasicCpuInfo.cpp @@ -23,6 +23,7 @@ */ #include +#include #include #include @@ -274,7 +275,7 @@ rapidjson::Value xmrig::BasicCpuInfo::toJSON(rapidjson::Document &doc) const # ifdef XMRIG_FEATURE_ASM out.AddMember("assembly", StringRef(Assembly(assembly()).toString()), allocator); # else - cpu.AddMember("assembly", "none", allocator); + out.AddMember("assembly", "none", allocator); # endif Value flags(kArrayType);