From aaf216a29ab7d89b08a1b01669e52451dbb194e8 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Sep 2021 12:58:16 +0200 Subject: [PATCH] drop using statement for saturation_table_number_ rather qualify member variable with this-> --- opm/simulators/wells/StandardWell.hpp | 1 - opm/simulators/wells/StandardWell_impl.hpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opm/simulators/wells/StandardWell.hpp b/opm/simulators/wells/StandardWell.hpp index f9963656b..77da0e05e 100644 --- a/opm/simulators/wells/StandardWell.hpp +++ b/opm/simulators/wells/StandardWell.hpp @@ -262,7 +262,6 @@ namespace Opm protected: // protected member variables from the Base class - using Base::saturation_table_number_; using Base::well_index_; using Base::index_of_well_; using Base::num_components_; diff --git a/opm/simulators/wells/StandardWell_impl.hpp b/opm/simulators/wells/StandardWell_impl.hpp index c54e18838..b205413e6 100644 --- a/opm/simulators/wells/StandardWell_impl.hpp +++ b/opm/simulators/wells/StandardWell_impl.hpp @@ -716,7 +716,7 @@ namespace Opm // either use mobility of the perforation cell or calcualte its own // based on passing the saturation table index - const int satid = saturation_table_number_[perf] - 1; + const int satid = this->saturation_table_number_[perf] - 1; const int satid_elem = materialLawManager->satnumRegionIdx(cell_idx); if( satid == satid_elem ) { // the same saturation number is used. i.e. just use the mobilty from the cell @@ -785,7 +785,7 @@ namespace Opm // either use mobility of the perforation cell or calcualte its own // based on passing the saturation table index - const int satid = saturation_table_number_[perf] - 1; + const int satid = this->saturation_table_number_[perf] - 1; const int satid_elem = materialLawManager->satnumRegionIdx(cell_idx); if( satid == satid_elem ) { // the same saturation number is used. i.e. just use the mobilty from the cell