From 4c3d06ed9b4a525f44523329336be8d658471954 Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Mon, 29 Jul 2024 15:01:54 +0200 Subject: [PATCH] Refs #21357. Fix content filter topic name. Signed-off-by: Miguel Company --- src/cpp/fastdds/subscriber/DataReaderImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/fastdds/subscriber/DataReaderImpl.cpp b/src/cpp/fastdds/subscriber/DataReaderImpl.cpp index 0a1f8f8a71e..5f67a977f11 100644 --- a/src/cpp/fastdds/subscriber/DataReaderImpl.cpp +++ b/src/cpp/fastdds/subscriber/DataReaderImpl.cpp @@ -278,7 +278,7 @@ ReturnCode_t DataReaderImpl::enable() // Register the reader fastdds::rtps::TopicDescription topic_desc; - topic_desc.topic_name = topic_->get_name(); + topic_desc.topic_name = topic_->get_impl()->get_rtps_topic_name(); topic_desc.type_name = topic_->get_type_name(); subscriber_->get_participant_impl()->fill_type_information(type_, topic_desc.type_information);