Well shared_ptr alias deprecated

The shared_ptr aliasing is deprecated, and in the Well case this has
been removed upstream.
This commit is contained in:
Jørgen Kvalsvik
2016-06-16 10:01:04 +02:00
parent 691969eb86
commit ef51e9a2eb
8 changed files with 22 additions and 22 deletions

View File

@@ -104,7 +104,7 @@ struct SetupMSW {
false);
const Wells* wells = wells_manager.c_wells();
const std::vector<Opm::WellConstPtr>& wells_ecl = ecl_state->getSchedule()->getWells(current_timestep);
const auto wells_ecl = ecl_state->getSchedule()->getWells(current_timestep);
ms_wells.reset(new Opm::MultisegmentWells(wells, wells_ecl, current_timestep));
};