Skip to content

Commit

Permalink
rename with get_type_support_introspection
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Lihui <[email protected]>
  • Loading branch information
Chen Lihui committed Mar 18, 2022
1 parent 071b2eb commit 4224516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rmw_fastrtps_shared_cpp/src/TypeSupport_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down Expand Up @@ -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<const MembersType *>(type_support_intro->data);
std::string sub_type_name = _create_type_name(sub_members);
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 4224516

Please sign in to comment.