Skip to content

Commit b9bf5dc

Browse files
committed
Fixes from review.
Signed-off-by: Chris Lalancette <[email protected]>
1 parent 8027fd3 commit b9bf5dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rclcpp/include/rclcpp/publisher_base.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class PublisherBase : public std::enable_shared_from_this<PublisherBase>
105105
/// Get the rcl publisher handle.
106106
/** \return The rcl publisher handle. */
107107
RCLCPP_PUBLIC
108-
const std::shared_ptr<rcl_publisher_t>
108+
std::shared_ptr<const rcl_publisher_t>
109109
get_publisher_handle() const;
110110

111111
/// Get all the QoS event handlers associated with this publisher.

rclcpp/src/rclcpp/publisher_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ PublisherBase::get_publisher_handle()
147147
return publisher_handle_;
148148
}
149149

150-
const std::shared_ptr<rcl_publisher_t>
150+
std::shared_ptr<const rcl_publisher_t>
151151
PublisherBase::get_publisher_handle() const
152152
{
153153
return publisher_handle_;

0 commit comments

Comments
 (0)