Skip to content

[humble] Fix clang warning: bugprone-use-after-move (#2116)#2459

Merged
mjcarroll merged 1 commit intoros2:humblefrom
otamachan:backport-2116-to-humble
Mar 29, 2024
Merged

[humble] Fix clang warning: bugprone-use-after-move (#2116)#2459
mjcarroll merged 1 commit intoros2:humblefrom
otamachan:backport-2116-to-humble

Conversation

@otamachan
Copy link
Copy Markdown

Backport of #2116 to humble.

Without this, I would need to add // NOLINT(clang-analyzer-cplusplus.Move) to every my publish() call in humble.

Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
Signed-off-by: Tamaki Nishino <otamachan@gmail.com>
@otamachan otamachan force-pushed the backport-2116-to-humble branch from 4fcc2a0 to ade883d Compare March 20, 2024 23:37
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@mauropasse since you are the original author, can we have your review?

@mjcarroll
Copy link
Copy Markdown
Member

@alsora Can we get another set of eyes on this one, since it's in the intraprocess manager?

Copy link
Copy Markdown
Collaborator

@alsora alsora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me

@mjcarroll
Copy link
Copy Markdown
Member

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@mjcarroll mjcarroll merged commit c1cfcb6 into ros2:humble Mar 29, 2024
@otamachan otamachan deleted the backport-2116-to-humble branch March 31, 2024 06:32
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.

5 participants