Refactor: Use more generic base class.

This commit is contained in:
Kristian Bendiksen committed 2024-06-14 17:31:22 +02:00
1 parent 0477371e0d
commit 5be47b3d2c
2 files changed
+3 -3

No files matched your search

@@ -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; if ( isFlowChannel( wellLogChannel ) ) return true;
} }
@@ -93,7 +93,7 @@ public:
static RiaRftPltCurveDefinition curveDefFromCurve( const RimWellLogCurve* curve ); static RiaRftPltCurveDefinition curveDefFromCurve( const RimWellLogCurve* curve );
// others // others
static bool hasFlowData( const RimWellLogFile* wellLogFile ); static bool hasFlowData( const RimWellLog* wellLog );
static bool hasAssociatedWellPath( const QString& wellName ); static bool hasAssociatedWellPath( const QString& wellName );
// Both // Both