Janitor : Remove duplicated code

This commit is contained in:
Magne Sjaastad committed 2021-05-26 13:28:45 +02:00
1 parent 9d58769f89
commit 098fda9816
5 files changed
+19 -12

No files matched your search

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