mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
Fixes by clang-tidy
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user