Fixes by clang-tidy

This commit is contained in:
magnesj
2024-05-30 02:02:09 +00:00
committed by Magne Sjaastad
parent 1d57b9032b
commit 4f5a0d8bdf

View File

@@ -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;
}
//--------------------------------------------------------------------------------------------------