drop using statement for wsalt

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

View File

@ -262,7 +262,6 @@ namespace Opm
protected:
// protected functions from the Base class
using Base::wsalt;
using Base::wsolvent;
using Base::wpolymer;
using Base::wfoam;

View File

@ -682,7 +682,7 @@ namespace Opm
const unsigned waterCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::waterCompIdx);
EvalWell cq_s_sm = cq_s[waterCompIdx];
if (this->isInjector()) {
cq_s_sm *= wsalt();
cq_s_sm *= this->wsalt();
} else {
cq_s_sm *= this->extendEval(intQuants.fluidState().saltConcentration());
}