Skip to content

Commit

Permalink
Use get_message_typesupport_handle() instead of deprecated get_typesu…
Browse files Browse the repository at this point in the history
…pport_handle()

Signed-off-by: Barry Xu <barry.xu@sony.com>
  • Loading branch information
Barry-Xu-2018 committed Dec 6, 2023
1 parent 6ee96bc commit b707ee4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ PlayerServiceClient::PlayerServiceClient(
ts_lib_ = rclcpp::get_typesupport_library(
service_event_type, "rosidl_typesupport_cpp");

ts_ = rclcpp::get_typesupport_handle(
ts_ = rclcpp::get_message_typesupport_handle(
service_event_type,
"rosidl_typesupport_cpp",
*ts_lib_);
Expand Down

0 comments on commit b707ee4

Please sign in to comment.