Skip to content

Commit

Permalink
Fixes by clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed May 30, 2024
1 parent 1d57b90 commit 4f5a0d8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ApplicationLibCode/Commands/RicDeleteSubItemsFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 4f5a0d8

Please sign in to comment.