File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/rmw_fastrtps_dynamic_cpp/src/type_support_common.cpp b/rmw_fastrtps_dynamic_cpp/src/type_support_common.cpp
2+ index d602069..62e4362 100644
3+ --- a/rmw_fastrtps_dynamic_cpp/src/type_support_common.cpp
4+ +++ b/rmw_fastrtps_dynamic_cpp/src/type_support_common.cpp
5+ @@ -25,12 +25,13 @@
6+ bool
7+ using_introspection_c_typesupport(const char * typesupport_identifier)
8+ {
9+ - return typesupport_identifier == rosidl_typesupport_introspection_c__identifier;
10+ + return !std::string(typesupport_identifier)
11+ + .compare(rosidl_typesupport_introspection_c__identifier);
12+ }
13+
14+ bool
15+ using_introspection_cpp_typesupport(const char * typesupport_identifier)
16+ {
17+ - return typesupport_identifier ==
18+ - rosidl_typesupport_introspection_cpp::typesupport_identifier;
19+ + return !std::string(typesupport_identifier)
20+ + .compare(rosidl_typesupport_introspection_cpp::typesupport_identifier);
21+ }
You can’t perform that action at this time.
0 commit comments