mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
drop using statement for phaseUsage
rather qualify member function calls with this->
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user