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:
@@ -34,14 +34,6 @@ RimEnsembleWellLogsCollection::RimEnsembleWellLogsCollection()
|
||||
CAF_PDM_InitFieldNoDefault( &m_ensembleWellLogs, "EnsembleWellLogsCollection", "" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimEnsembleWellLogsCollection::~RimEnsembleWellLogsCollection()
|
||||
{
|
||||
m_ensembleWellLogs.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -31,7 +31,6 @@ class RimEnsembleWellLogsCollection : public caf::PdmObject
|
||||
|
||||
public:
|
||||
RimEnsembleWellLogsCollection();
|
||||
~RimEnsembleWellLogsCollection() override;
|
||||
|
||||
std::vector<RimEnsembleWellLogs*> ensembleWellLogs() const;
|
||||
|
||||
|
||||
@@ -53,14 +53,6 @@ RimOsduWellLog::RimOsduWellLog()
|
||||
setDeletable( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimOsduWellLog::~RimOsduWellLog()
|
||||
{
|
||||
m_wellLogChannels.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -44,7 +44,6 @@ class RimOsduWellLog : public RimWellLog
|
||||
|
||||
public:
|
||||
RimOsduWellLog();
|
||||
~RimOsduWellLog() override;
|
||||
|
||||
void setName( const QString& name );
|
||||
QString name() const override;
|
||||
|
||||
@@ -51,14 +51,6 @@ RimWellLogCsvFile::RimWellLogCsvFile()
|
||||
m_wellLogDataFile = nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogCsvFile::~RimWellLogCsvFile()
|
||||
{
|
||||
m_wellLogChannels.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -41,7 +41,6 @@ class RimWellLogCsvFile : public RimWellLogFile
|
||||
|
||||
public:
|
||||
RimWellLogCsvFile();
|
||||
~RimWellLogCsvFile() override;
|
||||
|
||||
QString name() const override { return m_name; }
|
||||
|
||||
|
||||
@@ -82,14 +82,6 @@ RimWellLogLasFile::RimWellLogLasFile()
|
||||
m_lasFileHasValidDate = false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogLasFile::~RimWellLogLasFile()
|
||||
{
|
||||
m_wellLogChannels.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -44,7 +44,6 @@ class RimWellLogLasFile : public RimWellLogFile
|
||||
|
||||
public:
|
||||
RimWellLogLasFile();
|
||||
~RimWellLogLasFile() override;
|
||||
|
||||
static RimWellLogLasFile* readWellLogFile( const QString& logFilePath, QString* errorMessage );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user