typo in deser. of unit in load_root

master
Chris Punches 2017-06-23 13:19:49 -04:00
parent 2ccf31164c
commit 39084c1a7b
1 changed files with 1 additions and 1 deletions

View File

@ -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") )