ros2 / rclcpp

rclcpp (ROS Client Library for C++)
Apache License 2.0
513 stars 412 forks source link

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

Closed otamachan closed 3 months ago

otamachan commented 3 months ago

Backport of #2116 to humble.

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

mjcarroll commented 3 months ago

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

mjcarroll commented 3 months ago