Skip to content

Commit

Permalink
fix(pointcloud_preprocessor): fix constVariableReference warnings (#7628
Browse files Browse the repository at this point in the history
)

Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc authored Jun 22, 2024
1 parent a54b73e commit 6c2e484
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ PointCloudConcatenateDataSynchronizerComponent::PointCloudConcatenateDataSynchro
{
RCLCPP_DEBUG_STREAM(
get_logger(), "Subscribing to " << input_topics_.size() << " user given topics as inputs:");
for (auto & input_topic : input_topics_) {
for (const auto & input_topic : input_topics_) {
RCLCPP_DEBUG_STREAM(get_logger(), " - " << input_topic);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ PointCloudConcatenationComponent::PointCloudConcatenationComponent(
{
RCLCPP_INFO_STREAM(
get_logger(), "Subscribing to " << input_topics_.size() << " user given topics as inputs:");
for (auto & input_topic : input_topics_) {
for (const auto & input_topic : input_topics_) {
RCLCPP_INFO_STREAM(get_logger(), " - " << input_topic);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ PointCloudDataSynchronizerComponent::PointCloudDataSynchronizerComponent(
{
RCLCPP_INFO_STREAM(
get_logger(), "Subscribing to " << input_topics_.size() << " user given topics as inputs:");
for (auto & input_topic : input_topics_) {
for (const auto & input_topic : input_topics_) {
RCLCPP_INFO_STREAM(get_logger(), " - " << input_topic);
}

Expand Down

0 comments on commit 6c2e484

Please sign in to comment.