Janitor : Avoid include of header file in header

This commit is contained in:
Magne Sjaastad
2021-05-26 11:31:47 +02:00
parent 3fca5f15ae
commit 9d58769f89
29 changed files with 140 additions and 105 deletions

View File

@@ -27,6 +27,7 @@
#include "RigSimWellData.h"
#include "RigSimulationWellCenterLineCalculator.h"
#include "RigSimulationWellCoordsAndMD.h"
#include "RigWellResultPoint.h"
#include "RimEclipseCase.h"
#include "RimEclipseCellColors.h"
@@ -592,9 +593,9 @@ QString RimWellAllocationPlot::wellStatusTextForTimeStep( const QString&
{
if ( simWellData->hasWellResult( timeStep ) )
{
const RigWellResultFrame& wellResultFrame = simWellData->wellResultFrame( timeStep );
const RigWellResultFrame* wellResultFrame = simWellData->wellResultFrame( timeStep );
RiaDefines::WellProductionType prodType = wellResultFrame.m_productionType;
RiaDefines::WellProductionType prodType = wellResultFrame->m_productionType;
switch ( prodType )
{