Janitor : Use enum class

This commit is contained in:
Magne Sjaastad committed 2021-05-26 13:28:45 +02:00
1 parent 19d650f619
commit 3fca5f15ae
18 files changed
+100 -90

No files matched your search

@@ -409,11 +409,11 @@ void RimStreamlineInViewCollection::findStartCells( int
if ( point.isValid() && point.m_isOpen )
{
RigCell cell = grids[point.m_gridIndex]->cell( point.m_gridCellIndex );
if ( frame.m_productionType == RigWellResultFrame::WellProductionType::PRODUCER )
if ( frame.m_productionType == RiaDefines::WellProductionType::PRODUCER )
{
outProducerCells.push_back( std::pair<QString, RigCell>( swdata->m_wellName, cell ) );
}
else if ( frame.m_productionType != RigWellResultFrame::WellProductionType::UNDEFINED_PRODUCTION_TYPE )
else if ( frame.m_productionType != RiaDefines::WellProductionType::UNDEFINED_PRODUCTION_TYPE )
{
outInjectorCells.push_back( std::pair<QString, RigCell>( swdata->m_wellName, cell ) );
}