mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-06 00:17:39 +00:00
commit
ae25c01d36
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ xmrig::Assembly xmrig::Asm::parse(const char *assembly, Assembly defaultValue)
|
||||||
xmrig::Assembly xmrig::Asm::parse(const rapidjson::Value &value, Assembly defaultValue)
|
xmrig::Assembly xmrig::Asm::parse(const rapidjson::Value &value, Assembly defaultValue)
|
||||||
{
|
{
|
||||||
if (value.IsBool()) {
|
if (value.IsBool()) {
|
||||||
return parse(value.IsBool());
|
return parse(value.GetBool());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value.IsString()) {
|
if (value.IsString()) {
|
||||||
|
|
Loading…
Reference in a new issue