mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-tidy
This commit is contained in:
parent
1d57b9032b
commit
4f5a0d8bdf
@ -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;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user