From 4224516a653aacbc6db2eadefd4e050915a86559 Mon Sep 17 00:00:00 2001 From: Chen Lihui Date: Thu, 17 Mar 2022 11:22:11 +0800 Subject: [PATCH] rename with get_type_support_introspection Signed-off-by: Chen Lihui --- rmw_fastrtps_shared_cpp/src/TypeSupport_impl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rmw_fastrtps_shared_cpp/src/TypeSupport_impl.cpp b/rmw_fastrtps_shared_cpp/src/TypeSupport_impl.cpp index 22cef5486..87eb46d41 100644 --- a/rmw_fastrtps_shared_cpp/src/TypeSupport_impl.cpp +++ b/rmw_fastrtps_shared_cpp/src/TypeSupport_impl.cpp @@ -153,7 +153,7 @@ using TypeObject = eprosima::fastrtps::types::TypeObject; using TypeObjectFactory = eprosima::fastrtps::types::TypeObjectFactory; const rosidl_message_type_support_t * -get_type_support_intro( +get_type_support_introspection( const rosidl_message_type_support_t * type_supports) { const rosidl_message_type_support_t * type_support = @@ -455,7 +455,7 @@ MemberIdentifierName GetTypeIdentifier(const MembersType * members, uint32_t ind case ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE: { const rosidl_message_type_support_t * type_support_intro = - get_type_support_intro(member->members_); + get_type_support_introspection(member->members_); const MembersType * sub_members = static_cast(type_support_intro->data); std::string sub_type_name = _create_type_name(sub_members); @@ -568,7 +568,7 @@ bool register_type_object( const std::string & type_name) { const rosidl_message_type_support_t * type_support_intro = - get_type_support_intro(type_supports); + get_type_support_introspection(type_supports); if (!type_support_intro) { return false; }