Remove field accessor method. Adjusted whitespace

This commit is contained in:
Jacob Støren
2017-10-06 13:34:45 +02:00
parent 9bb5dcf011
commit 62b8da837f
3 changed files with 23 additions and 26 deletions

View File

@@ -530,8 +530,8 @@ QString RimWellRftPlot::currentWellName() const
//--------------------------------------------------------------------------------------------------
bool RimWellRftPlot::hasPressureData(RimWellLogFile* wellLogFile)
{
const auto& wellLogChannels = wellLogFile->wellLogChannelNames();
for (const auto& wellLogChannel : *wellLogChannels)
auto wellLogChannels = wellLogFile->wellLogChannels();
for (const auto& wellLogChannel : wellLogChannels)
{
if (hasPressureData(wellLogChannel)) return true;
}