mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-05 05:37:10 -06:00
Janitor : Avoid include of header file in header
This commit is contained in:
1 parent
3fca5f15ae
commit
9d58769f89
29 files changed
+140
-105
No files matched your search
@@ -25,6 +25,7 @@
|
||||
#include "RifSummaryReaderInterface.h"
|
||||
|
||||
#include "RigSimWellData.h"
|
||||
#include "RigWellResultPoint.h"
|
||||
|
||||
#include "Rim3dView.h"
|
||||
#include "RimEclipseResultCase.h"
|
||||
@@ -100,11 +101,11 @@ bool RimSimWellInViewTools::isInjector( RimSimWellInView* well )
|
||||
|
||||
if ( wRes->hasWellResult( currentTimeStep ) )
|
||||
{
|
||||
const RigWellResultFrame& wrf = wRes->wellResultFrame( currentTimeStep );
|
||||
const RigWellResultFrame* wrf = wRes->wellResultFrame( currentTimeStep );
|
||||
|
||||
if ( wrf.m_productionType == RiaDefines::WellProductionType::OIL_INJECTOR ||
|
||||
wrf.m_productionType == RiaDefines::WellProductionType::GAS_INJECTOR ||
|
||||
wrf.m_productionType == RiaDefines::WellProductionType::WATER_INJECTOR )
|
||||
if ( wrf->m_productionType == RiaDefines::WellProductionType::OIL_INJECTOR ||
|
||||
wrf->m_productionType == RiaDefines::WellProductionType::GAS_INJECTOR ||
|
||||
wrf->m_productionType == RiaDefines::WellProductionType::WATER_INJECTOR )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user