Skip to content

Commit

Permalink
test static cast
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Jul 16, 2024
1 parent e34bffe commit cc9bc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bullet-featherstone/src/Base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool GzCollisionDispatcher::HasConvexHullChildShapes(
return false;

const btCompoundShape *compoundShape =
dynamic_cast<const btCompoundShape *>(_shape);
static_cast<const btCompoundShape *>(_shape);
return (compoundShape->getNumChildShapes() > 0 &&
compoundShape->getChildShape(0)->getShapeType() ==
CONVEX_HULL_SHAPE_PROXYTYPE);
Expand Down

0 comments on commit cc9bc62

Please sign in to comment.