From 5fab3f09dd4bf5e267c5da1c734850ff6458a2ab Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 9 Aug 2016 12:43:48 +0200 Subject: [PATCH] ebos: fix some build breakage as usual, this was caused by some pointer-to-reference changes in opm-parser. --- applications/ebos/eclthresholdpressure.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/ebos/eclthresholdpressure.hh b/applications/ebos/eclthresholdpressure.hh index 7cbf1d7f6..df370ceb3 100644 --- a/applications/ebos/eclthresholdpressure.hh +++ b/applications/ebos/eclthresholdpressure.hh @@ -222,8 +222,8 @@ private: const auto& gridView = gridManager.gridView(); const auto& elementMapper = simulator_.model().elementMapper(); const auto& eclState = simulator_.gridManager().eclState(); - Opm::SimulationConfigConstPtr simConfig = eclState->getSimulationConfig(); - Opm::ThresholdPressureConstPtr thpres = simConfig->getThresholdPressure(); + const Opm::SimulationConfig& simConfig = eclState->getSimulationConfig(); + Opm::ThresholdPressureConstPtr thpres = simConfig.getThresholdPressure(); // set the threshold pressures for all EQUIL region boundaries which have a // intersection in the grid