drop using statement for phaseUsage

rather qualify member function calls with this->
This commit is contained in:
Arne Morten Kvarving
2021-09-06 12:58:16 +02:00
parent 824232b7c9
commit ddf621acdd
2 changed files with 1 additions and 2 deletions

View File

@@ -181,7 +181,6 @@ namespace Opm
WellSegments::MultiPhaseModel multiphaseModel() const;
// protected functions from the Base class
using Base::phaseUsage;
using Base::name;
using Base::flowPhaseToEbosCompIdx;
using Base::flowPhaseToEbosPhaseIdx;

View File

@@ -472,7 +472,7 @@ namespace Opm
double sum_kr = 0.;
const PhaseUsage& pu = phaseUsage();
const PhaseUsage& pu = this->phaseUsage();
if (pu.phase_used[Water]) {
const int water_pos = pu.phase_pos[Water];
kr[water_pos] = intQuants.relativePermeability(FluidSystem::waterPhaseIdx).value();