diff --git a/opm/simulators/wells/TargetCalculator.hpp b/opm/simulators/wells/TargetCalculator.hpp index c3432ab105..cde8c1d70f 100644 --- a/opm/simulators/wells/TargetCalculator.hpp +++ b/opm/simulators/wells/TargetCalculator.hpp @@ -98,7 +98,7 @@ private: const GroupStateHelperType& groupStateHelper_; const std::vector& resv_coeff_; const Group& group_; - const Phase& injection_phase_; + const Phase injection_phase_; Group::InjectionCMode cmode_; int pos_; GuideRateModel::Target target_;