mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
drop using statement for phaseUsage
rather qualify member function calls with this->
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user