#3512 System : Remove unused functions

This commit is contained in:
Magne Sjaastad
2018-10-18 15:40:11 +02:00
parent 766fea603e
commit 726658d642
24 changed files with 26 additions and 331 deletions

View File

@@ -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;
}

View File

@@ -31,5 +31,4 @@ class RicEclipseWellFeatureImpl
public:
static bool isAnyWellSelected();
static std::vector<RimSimWellInView*> selectedWells();
static RimSimWellInViewCollection* wellCollectionFromSelection();
};