drop using statement for phaseUsage

rather qualify member function calls with this->
This commit is contained in:
Arne Morten Kvarving committed 2021-09-09 11:53:35 +02:00
1 parent 824232b7c9
commit ddf621acdd
2 files changed
+1 -2

No files matched your search

@@ -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;
@@ -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();