typo in deser. of unit in load_root
parent
2ccf31164c
commit
39084c1a7b
|
@ -54,7 +54,7 @@ int Unit::load_root(Json::Value loader_root)
|
||||||
if ( loader_root.isMember("rectifier") )
|
if ( loader_root.isMember("rectifier") )
|
||||||
{ this->rectifier = loader_root.get("rectifier", errmsg).asString(); } else throw Unit_DataStructureException();
|
{ this->rectifier = loader_root.get("rectifier", errmsg).asString(); } else throw Unit_DataStructureException();
|
||||||
|
|
||||||
if ( loader_root.isMember("recitifier") )
|
if ( loader_root.isMember("active") )
|
||||||
{ this->active = loader_root.get("active", errmsg).asString(); } else throw Unit_DataStructureException();
|
{ this->active = loader_root.get("active", errmsg).asString(); } else throw Unit_DataStructureException();
|
||||||
|
|
||||||
if ( loader_root.isMember("required") )
|
if ( loader_root.isMember("required") )
|
||||||
|
|
Loading…
Reference in New Issue