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

@@ -102,9 +102,9 @@ bool RimSimWellInViewTools::isInjector( RimSimWellInView* well )
{
const RigWellResultFrame& wrf = wRes->wellResultFrame( currentTimeStep );
if ( wrf.m_productionType == RigWellResultFrame::OIL_INJECTOR ||
wrf.m_productionType == RigWellResultFrame::GAS_INJECTOR ||
wrf.m_productionType == RigWellResultFrame::WATER_INJECTOR )
if ( wrf.m_productionType == RiaDefines::WellProductionType::OIL_INJECTOR ||
wrf.m_productionType == RiaDefines::WellProductionType::GAS_INJECTOR ||
wrf.m_productionType == RiaDefines::WellProductionType::WATER_INJECTOR )
{
return true;
}