mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-28 16:10:24 -05:00
Replace RimTools::wellPathCollection() with RimWellPathCollection::instance()
Remove the redundant wrapper function and update all call sites to use RimWellPathCollection::instance() directly. Remove unused #include "RimTools.h" from files using RimWellPathCollection::instance() directly
This commit is contained in:
1 parent
211ae24241
commit
83f667cdf8
43 files changed
+60
-120
No files matched your search
@@ -25,7 +25,6 @@
|
||||
#include "RimEclipseCase.h"
|
||||
#include "RimMainPlotCollection.h"
|
||||
#include "RimSimWellInView.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogPlotCollection.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
|
||||
@@ -49,7 +48,7 @@ RigEclipseWellLogExtractor* RiaExtractionTools::findOrCreateWellLogExtractor( co
|
||||
{
|
||||
if ( !eclipseCase ) return nullptr;
|
||||
|
||||
if ( auto wellPathCollection = RimTools::wellPathCollection() )
|
||||
if ( auto wellPathCollection = RimWellPathCollection::instance() )
|
||||
{
|
||||
auto wellPath = wellPathCollection->tryFindMatchingWellPath( wellName );
|
||||
return RiaExtractionTools::findOrCreateWellLogExtractor( wellPath, eclipseCase );
|
||||
|
||||
Reference in new issue
Block a user