Skip to content

Commit

Permalink
Suppress clang-tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
henningkayser committed Nov 30, 2021
1 parent 1adc4ee commit 1406b10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct JointLimits
bool has_effort_limits;
bool angle_wraparound;

std::string to_string()
std::string to_string() // NOLINT: Ignore case style
{
std::stringstream ss_output;

Expand Down Expand Up @@ -96,7 +96,7 @@ struct JointLimits
return ss_output.str();
}

std::string debug_to_string()
std::string debug_to_string() // NOLINT: Ignore case style
{
std::stringstream ss_output;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ TEST_F(JointLimitsAggregator, CorrectSettingAccelerationAndDeceleration)
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 std::pair<std::string, pilz_industrial_motion_planner::JointLimit>& lim : container)
{
if (lim.first == "prbt_joint_4")
{
Expand Down

0 comments on commit 1406b10

Please sign in to comment.