Skip to content

Commit

Permalink
applied clang-tidy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shobuj-Paul committed Nov 9, 2023
1 parent 5dd81fd commit 52850eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moveit_core/planning_scene/src/planning_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1944,8 +1944,8 @@ void PlanningScene::getKnownObjectTypes(ObjectTypeMap& kc) const
parent_->getKnownObjectTypes(kc);
if (object_types_.has_value())
{
for (ObjectTypeMap::const_iterator it = object_types_.value().begin(); it != object_types_.value().end(); ++it)
kc[it->first] = it->second;
for (const auto& it : object_types_.value())
kc[it.first] = it.second;
}
}

Expand Down

0 comments on commit 52850eb

Please sign in to comment.