Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arun3688 committed Aug 20, 2021
1 parent 028d1a1 commit f07dced
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/OMSimulatorLib/Values.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,10 +591,9 @@ void oms::Values::exportParameterBindings(pugi::xml_node &node, Snapshot &snapsh
if (!it.allresources.empty())
{
bool nodeSet = true;
//pugi::xml_node node_parameters_bindings = node.append_child(oms::ssp::Version1_0::ssd::parameter_bindings);
pugi::xml_node node_parameters_bindings;
for (const auto &res : it.allresources)
{
pugi::xml_node node_parameters_bindings;
if (nodeSet && res.second.linkResources)
{
node_parameters_bindings = node.append_child(oms::ssp::Version1_0::ssd::parameter_bindings);
Expand Down

0 comments on commit f07dced

Please sign in to comment.