mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 00:50:15 -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
@@ -19,7 +19,6 @@
|
||||
#include "RimWellPathGeometryDefTools.h"
|
||||
|
||||
#include "RimModeledWellPath.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
#include "RimWellPathGeometryDef.h"
|
||||
#include "RimWellPathTarget.h"
|
||||
@@ -52,7 +51,7 @@ std::vector<RimWellPathGeometryDef*> RimWellPathGeometryDefTools::linkedDefiniti
|
||||
{
|
||||
std::vector<RimWellPathGeometryDef*> linkedWellPathGeoDefs;
|
||||
|
||||
for ( auto w : RimTools::wellPathCollection()->allWellPaths() )
|
||||
for ( auto w : RimWellPathCollection::instance()->allWellPaths() )
|
||||
{
|
||||
auto modeledWellPath = dynamic_cast<RimModeledWellPath*>( w );
|
||||
if ( !modeledWellPath ) continue;
|
||||
|
||||
Reference in new issue
Block a user