Skip to content

Commit

Permalink
clang-tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjw committed Dec 6, 2021
1 parent 5cad9b5 commit 58c2d05
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ TEST_F(JointLimitsAggregator, CorrectOverwriteByParamterPosition)
pilz_industrial_motion_planner::JointLimitsAggregator::getAggregatedLimits(node_, "all_valid",
robot_model_->getActiveJointModels());

for (const std::pair<std::string, pilz_industrial_motion_planner::JointLimit>& lim : container)
for (const auto& lim : container)
{
// Check for the overwrite
if (lim.first == "prbt_joint_1")
Expand Down Expand Up @@ -118,7 +118,7 @@ TEST_F(JointLimitsAggregator, CorrectOverwriteByParamterVelocity)
pilz_industrial_motion_planner::JointLimitsAggregator::getAggregatedLimits(node_, "all_valid",
robot_model_->getActiveJointModels());

for (std::pair<std::string, pilz_industrial_motion_planner::JointLimit> lim : container)
for (const auto& lim : container)
{
// Check that velocity was only changed in joint "prbt_joint_3"
if (lim.first == "prbt_joint_3")
Expand All @@ -142,7 +142,7 @@ TEST_F(JointLimitsAggregator, CorrectSettingAccelerationAndDeceleration)
pilz_industrial_motion_planner::JointLimitsAggregator::getAggregatedLimits(node_, "all_valid",
robot_model_->getActiveJointModels());

for (const std::pair<std::string, pilz_industrial_motion_planner::JointLimit>& lim : container)
for (const auto& lim : container)
{
if (lim.first == "prbt_joint_4")
{
Expand Down

0 comments on commit 58c2d05

Please sign in to comment.