mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Project/OilField: Made sure one and always one oilfield exists in a project.
p4#: 21884
This commit is contained in:
@@ -63,16 +63,8 @@ RimOilField::RimOilField(void)
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimOilField::~RimOilField(void)
|
||||
{
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimOilField::close()
|
||||
{
|
||||
if (wellPathCollection()) delete wellPathCollection();
|
||||
if (analysisModels()) delete analysisModels();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user