fixed class constructor inheritance

This commit is contained in:
Chris Punches
2017-04-18 19:16:10 -04:00
parent 6c95f641ed
commit 41c59ea985
10 changed files with 54 additions and 61 deletions

View File

@@ -8,16 +8,11 @@
void json_file_to_json_obj(std::string filename)
{
Unit jsonLoader = Unit(filename);
Conf jsonLoader = Conf(filename);
Json::Value root = jsonLoader.get_root();
const std::string planpath = root.get("plan_path", NULL).asString();
/*
for ( int index = 0; index < arrtest.size(); index++ )
{
std::cout << arrtest[index] << "\n";
}
*/
std::cout << planpath;
}