mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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