typo in deser. of unit in load_root
This commit is contained in:
@@ -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") )
|
||||||
|
|||||||
Reference in New Issue
Block a user