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:12:39 +02:00
parent 6f531033be
commit 04ea6c90a8
3 changed files with 8 additions and 8 deletions

View File

@@ -670,7 +670,7 @@ void Summary::add_timestep( int report_step,
for( const auto& pair : this->wvar ) {
const auto* wname = pair.first;
const auto& state_well = es.getSchedule()->getWell( wname );
const auto& state_well = *es.getSchedule()->getWell( wname );
const auto& sim_well = wells.wells.find( wname ) != wells.wells.end()
? wells.at( wname )
: dummy_well;