mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Complete instantiated types
RivReservoirPartMgr uses a Collection of RivGridPartMgr. The Collection indirectly causes the release() method of the Object base class of RivGridPartMgr to be called as part of its destructor, but this is not allowed for incomplete types and RivGridPartMgr is only forward-declared at the time of the instantiation (in RivReservoirPartMgr). A similar problem occurs in the use of RigStatisticsDataCache in the type RigCaseCellResultsData.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "cvfArray.h"
|
||||
#include "cvfCollection.h"
|
||||
|
||||
#include "RivGridPartMgr.h"
|
||||
#include "RivReservoirFaultsPartMgr.h"
|
||||
|
||||
namespace cvf
|
||||
@@ -33,7 +34,6 @@ namespace cvf
|
||||
|
||||
class RimResultSlot;
|
||||
class RimCellEdgeResultSlot;
|
||||
class RivGridPartMgr;
|
||||
class RigCaseData;
|
||||
class RimReservoirView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user