Skip to content

Replace 'auto' to 'const auto &' in for loops#629

Closed
youtalk wants to merge 1 commit intoros2:masterfrom
youtalk:zero-copy-foreach
Closed

Replace 'auto' to 'const auto &' in for loops#629
youtalk wants to merge 1 commit intoros2:masterfrom
youtalk:zero-copy-foreach

Conversation

@youtalk
Copy link
Copy Markdown
Contributor

@youtalk youtalk commented Feb 12, 2019

I found some call by value in the for loop codes but they are preferred to replace to call by reference.
This PR simply solves it.

@tfoote tfoote added the in review Waiting for review (Kanban column) label Feb 12, 2019
@youtalk youtalk closed this Feb 12, 2019
@tfoote tfoote removed the in review Waiting for review (Kanban column) label Feb 12, 2019
@youtalk youtalk deleted the zero-copy-foreach branch February 12, 2019 22:29
@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Feb 12, 2019

@youtalk did you intend to close this pull request? I think it makes sense and would start CI so it could be merged if you opened it again.

nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
…#629)

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants