File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
include/rclcpp/node_interfaces
src/rclcpp/node_interfaces Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ class NodeGraph : public NodeGraphInterface
110110
111111 RCLCPP_PUBLIC
112112 size_t
113- count_graph_users () override ;
113+ count_graph_users () const override ;
114114
115115 RCLCPP_PUBLIC
116116 std::vector<rclcpp::TopicEndpointInfo>
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ class NodeGraphInterface
278278 RCLCPP_PUBLIC
279279 virtual
280280 size_t
281- count_graph_users () = 0 ;
281+ count_graph_users () const = 0 ;
282282
283283 // / Return the topic endpoint information about publishers on a given topic.
284284 /* *
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ NodeGraph::wait_for_graph_change(
414414}
415415
416416size_t
417- NodeGraph::count_graph_users ()
417+ NodeGraph::count_graph_users () const
418418{
419419 return graph_users_count_.load ();
420420}
You can’t perform that action at this time.
0 commit comments