ebos: fix some build breakage

as usual, this was caused by some pointer-to-reference changes in opm-parser.
This commit is contained in:
Andreas Lauser 2016-08-09 12:43:48 +02:00
parent e8b460fe10
commit 5fab3f09dd

View File

@ -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