File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ class Publisher : public PublisherBase
8787
8888 // / MessageT::custom_type if MessageT is a TypeAdapter, otherwise just MessageT.
8989 using PublishedType = typename rclcpp::TypeAdapter<MessageT>::custom_type;
90+
9091 using ROSMessageType = typename rclcpp::TypeAdapter<MessageT>::ros_message_type;
9192
9293 using PublishedTypeAllocatorTraits = allocator::AllocRebind<PublishedType, AllocatorT>;
@@ -577,7 +578,7 @@ class Publisher : public PublisherBase
577578 {
578579 // / Assert that the published type has no overloaded operator new since this leads to
579580 // / new/delete mismatch (see https://github.com/ros2/rclcpp/issues/2951)
580- DeprecationEmitterOverloadedOperatorNew<has_overloaded_operator_new_v<
581+ detail:: DeprecationEmitterOverloadedOperatorNew<detail:: has_overloaded_operator_new_v<
581582 PublishedType>>::warn ();
582583
583584 auto ptr = PublishedTypeAllocatorTraits::allocate (published_type_allocator_, 1 );
You can’t perform that action at this time.
0 commit comments