File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rclcpp/src/rclcpp/node_interfaces Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ get_info_by_topic(
461461 return topic_info_list;
462462}
463463
464- static const char kPublisherEndpointTypeName [] = " publishers" ;
464+ static constexpr char kPublisherEndpointTypeName [] = " publishers" ;
465465std::vector<rclcpp::TopicEndpointInfo>
466466NodeGraph::get_publishers_info_by_topic (
467467 const std::string & topic_name,
@@ -474,7 +474,7 @@ NodeGraph::get_publishers_info_by_topic(
474474 rcl_get_publishers_info_by_topic);
475475}
476476
477- static const char kSubscriptionEndpointTypeName [] = " subscriptions" ;
477+ static constexpr char kSubscriptionEndpointTypeName [] = " subscriptions" ;
478478std::vector<rclcpp::TopicEndpointInfo>
479479NodeGraph::get_subscriptions_info_by_topic (
480480 const std::string & topic_name,
You can’t perform that action at this time.
0 commit comments