drop using statement for perf_depth_

rather qualify member variable with this->
This commit is contained in:
Arne Morten Kvarving
2021-09-06 12:58:16 +02:00
parent 68786651f5
commit 97cbbe910a
2 changed files with 1 additions and 2 deletions

View File

@@ -262,7 +262,6 @@ namespace Opm
protected: protected:
// protected member variables from the Base class // protected member variables from the Base class
using Base::perf_depth_;
using Base::well_cells_; using Base::well_cells_;
using Base::number_of_perforations_; using Base::number_of_perforations_;
using Base::number_of_phases_; using Base::number_of_phases_;

View File

@@ -64,7 +64,7 @@ namespace Opm
const std::vector< Scalar >& B_avg) const std::vector< Scalar >& B_avg)
{ {
Base::init(phase_usage_arg, depth_arg, gravity_arg, num_cells, B_avg); Base::init(phase_usage_arg, depth_arg, gravity_arg, num_cells, B_avg);
this->StdWellEval::init(perf_depth_, depth_arg, num_cells, Base::has_polymermw); this->StdWellEval::init(this->perf_depth_, depth_arg, num_cells, Base::has_polymermw);
} }