Skip to content
Snippets Groups Projects
Commit e7e47792 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

.

parent 3f006a0a
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,7 @@ void NFileIn::Load_08( ifstream& FS, string flong ) ...@@ -178,7 +178,7 @@ void NFileIn::Load_08( ifstream& FS, string flong )
if ( doc["Param"].Type() != YAML::NodeType::Sequence && if ( doc["Param"].Type() != YAML::NodeType::Sequence &&
doc["Param"].size() > 0) doc["Param"].size() > 0)
throw "Param is not a SEQUENCE type"; throw "Param is not a SEQUENCE type";
for(unsigned int iParam = 0; iParam < (doc["Param"].size()); iParam++ ){ for( unsigned int iParam = 0; iParam < (doc["Param"].size()); iParam++ ){
if ( doc["Param"][iParam].Type() != YAML::NodeType::Map ) if ( doc["Param"][iParam].Type() != YAML::NodeType::Map )
throw "Param " + S(iParam) + " is not a MAP type"; throw "Param " + S(iParam) + " is not a MAP type";
doc["Param"][iParam]["name"] >> co.name; doc["Param"][iParam]["name"] >> co.name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment