Fix build.
This commit is contained in:
parent
628506e266
commit
a7caf4cc66
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <array>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
@ -274,7 +275,7 @@ rapidjson::Value xmrig::BasicCpuInfo::toJSON(rapidjson::Document &doc) const
|
||||||
# ifdef XMRIG_FEATURE_ASM
|
# ifdef XMRIG_FEATURE_ASM
|
||||||
out.AddMember("assembly", StringRef(Assembly(assembly()).toString()), allocator);
|
out.AddMember("assembly", StringRef(Assembly(assembly()).toString()), allocator);
|
||||||
# else
|
# else
|
||||||
cpu.AddMember("assembly", "none", allocator);
|
out.AddMember("assembly", "none", allocator);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
Value flags(kArrayType);
|
Value flags(kArrayType);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue