Refactor: Use more generic base class.

This commit is contained in:
Kristian Bendiksen 2024-05-29 15:05:47 +02:00
parent 0477371e0d
commit 5be47b3d2c
2 changed files with 3 additions and 3 deletions

View File

@ -144,9 +144,9 @@ bool RimWellPlotTools::hasPressureData( RimEclipseResultCase* gridCase )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimWellPlotTools::hasFlowData( const RimWellLogFile* wellLogFile )
bool RimWellPlotTools::hasFlowData( const RimWellLog* wellLog )
{
for ( RimWellLogChannel* const wellLogChannel : wellLogFile->wellLogChannels() )
for ( RimWellLogChannel* const wellLogChannel : wellLog->wellLogChannels() )
{
if ( isFlowChannel( wellLogChannel ) ) return true;
}

View File

@ -93,7 +93,7 @@ public:
static RiaRftPltCurveDefinition curveDefFromCurve( const RimWellLogCurve* curve );
// others
static bool hasFlowData( const RimWellLogFile* wellLogFile );
static bool hasFlowData( const RimWellLog* wellLog );
static bool hasAssociatedWellPath( const QString& wellName );
// Both