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:
parent
90249e1158
commit
b25290bebd
ApplicationCode
@ -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;
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "RifReaderInterface.h"
|
||||
|
||||
#include "RimDefines.h"
|
||||
#include "RigStatisticsDataCache.h"
|
||||
|
||||
#include <QDateTime>
|
||||
|
||||
@ -31,7 +32,6 @@
|
||||
|
||||
class RifReaderInterface;
|
||||
class RigMainGrid;
|
||||
class RigStatisticsDataCache;
|
||||
class RigActiveCellInfo;
|
||||
|
||||
//==================================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user