mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user