From 39084c1a7b5a8c4cfb22044096f90b3384a21e40 Mon Sep 17 00:00:00 2001 From: Chris Punches Date: Fri, 23 Jun 2017 13:19:49 -0400 Subject: [PATCH] typo in deser. of unit in load_root --- src/loaders/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaders/Unit.cpp b/src/loaders/Unit.cpp index 6c9eb6d..3bb6424 100644 --- a/src/loaders/Unit.cpp +++ b/src/loaders/Unit.cpp @@ -54,7 +54,7 @@ int Unit::load_root(Json::Value loader_root) if ( loader_root.isMember("rectifier") ) { 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(); if ( loader_root.isMember("required") )