Merge pull request #766 from Roboto12/patch-1

Update Asm.cpp
This commit is contained in:
xmrig 2018-09-30 17:36:07 +03:00 committed by GitHub
commit ae25c01d36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()) {