Sync changes with amd miner and update summary.

This commit is contained in:
XMRig
2018-06-01 01:48:31 +07:00
parent bafd02fb69
commit 4535f3d1ee
8 changed files with 97 additions and 74 deletions

View File

@@ -116,7 +116,7 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
Value threads(kArrayType);
for (const IThread *thread : m_threads.list) {
threads.PushBack(thread->toConfig(doc), doc.GetAllocator());
threads.PushBack(thread->toConfig(doc), allocator);
}
doc.AddMember("threads", threads, allocator);