diff --git a/rqt_image_overlay_layer/include/rqt_image_overlay_layer/plugin.hpp b/rqt_image_overlay_layer/include/rqt_image_overlay_layer/plugin.hpp index 899b7c9..327f980 100644 --- a/rqt_image_overlay_layer/include/rqt_image_overlay_layer/plugin.hpp +++ b/rqt_image_overlay_layer/include/rqt_image_overlay_layer/plugin.hpp @@ -73,7 +73,7 @@ class Plugin : public PluginInterface Plugin() : library(rclcpp::get_typesupport_library(rosidl_generator_traits::name(), "rosidl_typesupport_cpp")), - stringTypesupport(rclcpp::get_typesupport_handle(rosidl_generator_traits::name(), + stringTypesupport(rclcpp::get_message_typesupport_handle(rosidl_generator_traits::name(), "rosidl_typesupport_cpp", *library)), base(stringTypesupport) {