fix: replace deprecated MessageUniquePtr
Hi! Here is a fix PR.
According to this PR https://github.com/ros2/rclcpp/commit/bdf1f8f78a95bb59c4549465300fd0a11867f137#diff-120be1036dd45a9b14efb6c9c5fd7d5f338869abc13a7d05067ea70183353e8bL109. MessageUniquePtr should be changed to std::unique_ptr<PublishedType, PublishedTypeDeleter> to keep the project going well.
friendly ping @ct2034
AFAICT the deprecation of MessageUniquePtr first will occur in kilted, so this PR really needs to be landed for the Kilted release. I've applied the patch in the ros2-kilted branch, and it seems to at least compile OK with a package that is using diagnostic_updater. Is there any way @ct2034 that this can be landed soon prior to Kilted?
💚 All backports created successfully
| Status | Branch | Result |
|---|---|---|
| ✅ | ros2-kilted |
Questions ?
Please refer to the Backport tool documentation
done ✅ https://github.com/ros/rosdistro/pull/45809 and https://github.com/ros/rosdistro/pull/45810
Thanks!
Good job!