Removes extraneous scope block.

This commit is contained in:
Williham Williham Totland
2020-09-25 12:56:35 +02:00
parent 461d8815a0
commit fab78873f2

View File

@@ -528,11 +528,10 @@ namespace {
addGroup(groupName , handlerContext.currentStep, unit_system);
int table = record.getItem("VFP_TABLE").get< int >(0);
{
auto group_ptr = std::make_shared<Group>( this->getGroup(groupName, handlerContext.currentStep) );
if (group_ptr->updateNetVFPTable(table))
this->updateGroup(std::move(group_ptr), handlerContext.currentStep);
}
auto group_ptr = std::make_shared<Group>( this->getGroup(groupName, handlerContext.currentStep) );
if (group_ptr->updateNetVFPTable(table))
this->updateGroup(std::move(group_ptr), handlerContext.currentStep);
}
}