Fixes by clang-tidy

This commit is contained in:
magnesj authored and Magne Sjaastad committed 2024-05-30 07:16:44 +02:00
1 parent 1d57b9032b
commit 4f5a0d8bdf
1 file changed
+1 -6
@@ -126,12 +126,7 @@ bool RicDeleteSubItemsFeature::hasDeletableSubItems( caf::PdmUiItem* uiItem )
}
}
if ( dynamic_cast<RimVfpDataCollection*>( uiItem ) )
{
return true;
}
return false;
return dynamic_cast<RimVfpDataCollection*>( uiItem ) != nullptr;
}
//--------------------------------------------------------------------------------------------------