File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -52,25 +52,25 @@ struct typesupport_action_tag {};
5252template <typename T>
5353struct typesupport_traits
5454{
55- typedef T type_tag;
55+ using type_tag = T ;
5656};
5757
5858template <>
5959struct typesupport_traits <rosidl_message_type_support_t >
6060{
61- typedef typesupport_message_tag type_tag;
61+ using type_tag = typesupport_message_tag ;
6262};
6363
6464template <>
6565struct typesupport_traits <rosidl_service_type_support_t >
6666{
67- typedef typesupport_service_tag type_tag;
67+ using type_tag = typesupport_service_tag ;
6868};
6969
7070template <>
7171struct typesupport_traits <rosidl_action_type_support_t >
7272{
73- typedef typesupport_action_tag type_tag;
73+ using type_tag = typesupport_action_tag ;
7474};
7575
7676using SymbolNameErrorFuncPair = std::pair<std::string, std::function<std::string()>>;
@@ -132,7 +132,6 @@ get_typesupport_handle(
132132 }
133133}
134134
135-
136135} // namespace rclcpp
137136
138137#endif // RCLCPP__TYPESUPPORT_HELPERS_HPP_
You can’t perform that action at this time.
0 commit comments