From 2c0743c888939ca2a03b60167e3ac14ce398497d Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 6 Sep 2021 12:58:16 +0200 Subject: [PATCH] drop using statement for wsalt rather qualify member function calls with this-> --- opm/simulators/wells/StandardWell.hpp | 1 - opm/simulators/wells/StandardWell_impl.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/opm/simulators/wells/StandardWell.hpp b/opm/simulators/wells/StandardWell.hpp index 8f2bd3c63..10f5eea57 100644 --- a/opm/simulators/wells/StandardWell.hpp +++ b/opm/simulators/wells/StandardWell.hpp @@ -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; diff --git a/opm/simulators/wells/StandardWell_impl.hpp b/opm/simulators/wells/StandardWell_impl.hpp index 844135bd0..608d76bca 100644 --- a/opm/simulators/wells/StandardWell_impl.hpp +++ b/opm/simulators/wells/StandardWell_impl.hpp @@ -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()); }