drop using statement for wsalt

rather qualify member function calls with this->
This commit is contained in:
Arne Morten Kvarving committed 2021-09-07 11:23:25 +02:00
1 parent dae0e73327
commit 2c0743c888
2 files changed
+1 -2

No files matched your search

-1
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;
+1 -1
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());
}