Sync changes with amd miner and update summary.

This commit is contained in:
XMRig 2018-06-01 01:48:31 +07:00
parent 34a3454784
commit 009bd1a507
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);