mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove ternary operator (for Linux build)
This commit is contained in:
@@ -486,8 +486,13 @@ void RimWellLogTrack::loadDataAndUpdate()
|
|||||||
RimWellRftPlot* rftPlot(nullptr);
|
RimWellRftPlot* rftPlot(nullptr);
|
||||||
firstAncestorOrThisOfType(rftPlot);
|
firstAncestorOrThisOfType(rftPlot);
|
||||||
|
|
||||||
RimWellPltPlot* pltPlot;
|
RimWellPltPlot* pltPlot = nullptr;
|
||||||
rftPlot ? pltPlot = nullptr : firstAncestorOrThisOfType(pltPlot);
|
if (!rftPlot)
|
||||||
|
{
|
||||||
|
firstAncestorOrThisOfType(pltPlot);
|
||||||
|
}
|
||||||
|
|
||||||
|
RimWellAllocationPlot* wellAllocationPlot = nullptr;
|
||||||
|
|
||||||
if (rftPlot || pltPlot)
|
if (rftPlot || pltPlot)
|
||||||
{
|
{
|
||||||
@@ -524,9 +529,10 @@ void RimWellLogTrack::loadDataAndUpdate()
|
|||||||
m_simWellName = wellName;
|
m_simWellName = wellName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
RimWellAllocationPlot* wellAllocationPlot;
|
{
|
||||||
(rftPlot || pltPlot) ? wellAllocationPlot = nullptr : firstAncestorOrThisOfType(wellAllocationPlot);
|
firstAncestorOrThisOfType(wellAllocationPlot);
|
||||||
|
}
|
||||||
|
|
||||||
if (wellAllocationPlot)
|
if (wellAllocationPlot)
|
||||||
{
|
{
|
||||||
@@ -544,7 +550,6 @@ void RimWellLogTrack::loadDataAndUpdate()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
updateFormationNamesOnPlot();
|
updateFormationNamesOnPlot();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user