Skip to content

Commit df1e782

Browse files
author
Ivo Ivanov
committed
Inside detail ns again
Signed-off-by: Ivo Ivanov <ivo.ivanov@tha.de>
1 parent 69e1b11 commit df1e782

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rclcpp/include/rclcpp/publisher.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)