drop using statement for perf_depth_

rather qualify member variable with this->
This commit is contained in:
Arne Morten Kvarving committed 2021-09-09 11:53:35 +02:00
1 parent 78a4aa3ede
commit 9970fb4ab4
2 files changed
+1 -2

No files matched your search

@@ -180,7 +180,6 @@ namespace Opm
// multi-phase flow model
WellSegments::MultiPhaseModel multiphaseModel() const;
using Base::perf_depth_;
using Base::num_components_;
using Base::connectionRates_;
using Base::ipr_a_;
@@ -103,7 +103,7 @@ namespace Opm
// calcuate the depth difference between the perforations and the perforated grid block
for (int perf = 0; perf < this->number_of_perforations_; ++perf) {
const int cell_idx = this->well_cells_[perf];
this->cell_perforation_depth_diffs_[perf] = depth_arg[cell_idx] - perf_depth_[perf];
this->cell_perforation_depth_diffs_[perf] = depth_arg[cell_idx] - this->perf_depth_[perf];
}
}