Fixed bug in aliases logic.

This commit is contained in:
XMRig 2019-08-17 04:52:33 +07:00
parent ed3a39dc74
commit d254aafb93

View file

@ -61,7 +61,11 @@ size_t xmrig::Threads<T>::read(const rapidjson::Value &value)
if (!threads.isEmpty()) {
move(member.name.GetString(), std::move(threads));
}
}
}
for (auto &member : value.GetObject()) {
if (member.value.IsArray() || member.value.IsObject()) {
continue;
}