mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3512 System : Remove unused functions
This commit is contained in:
@@ -50,22 +50,3 @@ std::vector<RimSimWellInView*> RicEclipseWellFeatureImpl::selectedWells()
|
||||
return selection;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimSimWellInViewCollection* RicEclipseWellFeatureImpl::wellCollectionFromSelection()
|
||||
{
|
||||
std::vector<RimSimWellInView*> selection = selectedWells();
|
||||
if (selection.size() > 0)
|
||||
{
|
||||
RimSimWellInView* firstWell = selection[0];
|
||||
|
||||
RimSimWellInViewCollection* wellCollection = nullptr;
|
||||
firstWell->firstAncestorOrThisOfType(wellCollection);
|
||||
|
||||
return wellCollection;
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,5 +31,4 @@ class RicEclipseWellFeatureImpl
|
||||
public:
|
||||
static bool isAnyWellSelected();
|
||||
static std::vector<RimSimWellInView*> selectedWells();
|
||||
static RimSimWellInViewCollection* wellCollectionFromSelection();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user