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:
Roland Kaufmann 2014-12-01 10:03:08 +01:00
parent 90249e1158
commit b25290bebd
2 changed files with 2 additions and 2 deletions
ApplicationCode
ModelVisualization
ReservoirDataModel

View File

@ -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;

View File

@ -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;
//==================================================================================================