drop using statement for perf_depth_

rather qualify member variable with this->
This commit is contained in:
Arne Morten Kvarving committed 2021-09-07 11:24:51 +02:00
1 parent 68786651f5
commit 97cbbe910a
2 files changed
+1 -2

No files matched your search

-1
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_;
+1 -1
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);
} }