Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jul 30, 2022
1 parent 67ecb2f commit cea9656
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/systems/physics/Physics.cc
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ class gz::sim::systems::PhysicsPrivate
gz::physics::GetBasicJointState,
gz::physics::SetBasicJointState>{};

/// \brief Feature list to construct joints
/// \brief Feature list to construct joints
public: struct ConstructSdfJointFeatureList : gz::physics::FeatureList<
JointFeatureList,
gz::physics::sdf::ConstructSdfJoint>{};
Expand Down Expand Up @@ -1242,8 +1242,9 @@ void PhysicsPrivate::CreateLinkEntities(const EntityComponentManager &_ecm,
link.SetInertial(inertial->Data());
}

auto constructLinkFeature =
this->entityModelMap.EntityCast<ConstructSdfLinkFeatureList>(_parent->Data());
auto constructLinkFeature =
this->entityModelMap.EntityCast<ConstructSdfLinkFeatureList>(
_parent->Data());

if (!constructLinkFeature)
{
Expand Down

0 comments on commit cea9656

Please sign in to comment.