From a30b9d553990da10436e2946b1fd1831fcf82959 Mon Sep 17 00:00:00 2001 From: Jackie Kay Date: Wed, 14 Oct 2015 11:41:24 -0700 Subject: [PATCH] Add const to do_inter_process_publish --- rclcpp/include/rclcpp/publisher.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclcpp/include/rclcpp/publisher.hpp b/rclcpp/include/rclcpp/publisher.hpp index 89d688a..b1e2fc7 100644 --- a/rclcpp/include/rclcpp/publisher.hpp +++ b/rclcpp/include/rclcpp/publisher.hpp @@ -311,7 +311,7 @@ public: protected: void - do_inter_process_publish(MessageT * msg) + do_inter_process_publish(const MessageT * msg) { auto status = rmw_publish(publisher_handle_, msg); if (status != RMW_RET_OK) {