Merge pull request #5966 from OPM/fix-gcc8-warning-5964

#5964 Fix "type qualifiers ignored on cast result type" warning on gc…
This commit is contained in:
Kristian Bendiksen 2020-05-20 20:56:20 +02:00 committed by GitHub
commit b20747efbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -627,7 +627,7 @@ void RiuPvtPlotPanel::plotUiSelectedCurves()
// Determine which curves (phase) to actually plot based on selection in GUI
const int currComboIdx = m_phaseComboBox->currentIndex();
const RigFlowDiagSolverInterface::PvtCurve::Phase phaseToPlot =
static_cast<const RigFlowDiagSolverInterface::PvtCurve::Phase>( m_phaseComboBox->itemData( currComboIdx ).toInt() );
static_cast<RigFlowDiagSolverInterface::PvtCurve::Phase>( m_phaseComboBox->itemData( currComboIdx ).toInt() );
QString phaseString = "";
if ( phaseToPlot == RigFlowDiagSolverInterface::PvtCurve::GAS )