pushing local

This commit is contained in:
Chris Punches
2017-06-18 10:39:46 -04:00
parent 36f34469fb
commit c8b0872993
10 changed files with 51 additions and 35 deletions

View File

@@ -19,10 +19,10 @@ Conf::Conf( std::string filename ): JSON_Loader()
this->load_json_file( filename, true );
// find the path to the plan file
if ( this->get_key( this->plan_path, "plan_path", true) != 0 ) { throw CONF_PLANPATH_INVALID(); }
if (this->get_serialized(this->plan_path, "plan_path", true) != 0 ) { throw CONF_PLANPATH_INVALID(); }
// find the path to the unit definitions file
if ( this->get_key( this->units_path, "units_path", true) != 0 ) { throw CONF_UNITSPATH_INVALID(); }
if (this->get_serialized(this->units_path, "units_path", true) != 0 ) { throw CONF_UNITSPATH_INVALID(); }
};
std::string Conf::get_plan_path()