mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove direct access to the well path field in RimWellPathCollection
This commit is contained in:
@@ -352,10 +352,7 @@ RimWellPath* RimWellPlotTools::wellPathFromWellLogFile( const RimWellLogFile* we
|
||||
RimProject* const project = RimProject::current();
|
||||
for ( const auto& oilField : project->oilFields )
|
||||
{
|
||||
auto wellPaths = std::vector<RimWellPath*>( oilField->wellPathCollection()->wellPaths.begin(),
|
||||
oilField->wellPathCollection()->wellPaths.end() );
|
||||
|
||||
for ( const auto& wellPath : wellPaths )
|
||||
for ( const auto& wellPath : oilField->wellPathCollection()->wellPaths() )
|
||||
{
|
||||
for ( RimWellLogFile* const file : wellPath->wellLogFiles() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user