From fab78873f218e8da20ad10420395c3802da9e426 Mon Sep 17 00:00:00 2001 From: Williham Williham Totland Date: Fri, 25 Sep 2020 12:56:35 +0200 Subject: [PATCH] Removes extraneous scope block. --- .../eclipse/EclipseState/Schedule/KeywordHandlers.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp b/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp index 1d9e117f4..8a1db8295 100644 --- a/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp +++ b/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp @@ -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( this->getGroup(groupName, handlerContext.currentStep) ); - if (group_ptr->updateNetVFPTable(table)) - this->updateGroup(std::move(group_ptr), handlerContext.currentStep); - } + + auto group_ptr = std::make_shared( this->getGroup(groupName, handlerContext.currentStep) ); + if (group_ptr->updateNetVFPTable(table)) + this->updateGroup(std::move(group_ptr), handlerContext.currentStep); } }