mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-05 21:56:46 -06:00
Regression Test: Do not access RimWellLogPlotCollection directly from desctructors
Regression tests are calling RimProject::reset(), and this function deletes the RimProject object.
This commit is contained in:
1 parent
4d244bc848
commit
c2ab9e6fe0
6 files changed
+29
-11
No files matched your search
@@ -160,6 +160,8 @@ RimMainPlotCollection::~RimMainPlotCollection()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimMainPlotCollection* RimMainPlotCollection::current()
|
||||
{
|
||||
CVF_ASSERT( RimProject::current() );
|
||||
|
||||
return RimProject::current()->mainPlotCollection();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user