mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: Remove obsolete deleteChildren
Remove obsolete deleteChildren() in destructors. deleteChildren() is called in the destructor of PdmChildArrayField
This commit is contained in:
@@ -37,14 +37,6 @@ RimElasticPropertyScalingCollection::RimElasticPropertyScalingCollection()
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_elasticPropertyScalings, "ElasticPropertyScalings", "Elastic Property Scalings" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimElasticPropertyScalingCollection::~RimElasticPropertyScalingCollection()
|
||||
{
|
||||
m_elasticPropertyScalings.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -36,7 +36,6 @@ class RimElasticPropertyScalingCollection : public caf::PdmObject
|
||||
|
||||
public:
|
||||
RimElasticPropertyScalingCollection();
|
||||
~RimElasticPropertyScalingCollection() override;
|
||||
|
||||
caf::Signal<> changed;
|
||||
|
||||
|
||||
@@ -35,14 +35,6 @@ RimStimPlanModelPlotCollection::RimStimPlanModelPlotCollection()
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_stimPlanModelPlots, "StimPlanModelPlots", "" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimStimPlanModelPlotCollection::~RimStimPlanModelPlotCollection()
|
||||
{
|
||||
m_stimPlanModelPlots.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -36,7 +36,6 @@ class RimStimPlanModelPlotCollection : public caf::PdmObject, public RimPlotColl
|
||||
|
||||
public:
|
||||
RimStimPlanModelPlotCollection();
|
||||
~RimStimPlanModelPlotCollection() override;
|
||||
|
||||
void addStimPlanModelPlot( RimStimPlanModelPlot* newPlot );
|
||||
|
||||
|
||||
@@ -44,14 +44,6 @@ RimStimPlanModelTemplateCollection::RimStimPlanModelTemplateCollection()
|
||||
m_nextValidId.uiCapability()->setUiHidden( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimStimPlanModelTemplateCollection::~RimStimPlanModelTemplateCollection()
|
||||
{
|
||||
m_stimPlanModelTemplates.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -34,7 +34,6 @@ class RimStimPlanModelTemplateCollection : public caf::PdmObject
|
||||
|
||||
public:
|
||||
RimStimPlanModelTemplateCollection();
|
||||
~RimStimPlanModelTemplateCollection() override;
|
||||
|
||||
RimStimPlanModelTemplate* stimPlanModelTemplate( int id ) const;
|
||||
std::vector<RimStimPlanModelTemplate*> stimPlanModelTemplates() const;
|
||||
|
||||
Reference in New Issue
Block a user