From dfbfd8a1efd18764817e87287c7fd4e5fc2381d8 Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Mon, 29 Jul 2024 15:43:22 +0200 Subject: [PATCH] Refs #21357. Uncrustify. Signed-off-by: Miguel Company --- src/cpp/fastdds/domain/DomainParticipantImpl.cpp | 8 ++++---- src/cpp/fastdds/subscriber/DataReaderImpl.cpp | 2 +- .../fastdds/domain/DomainParticipantImpl.hpp | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/cpp/fastdds/domain/DomainParticipantImpl.cpp b/src/cpp/fastdds/domain/DomainParticipantImpl.cpp index 95de983d160..1fa326eedba 100644 --- a/src/cpp/fastdds/domain/DomainParticipantImpl.cpp +++ b/src/cpp/fastdds/domain/DomainParticipantImpl.cpp @@ -1895,16 +1895,16 @@ bool DomainParticipantImpl::fill_type_information( auto properties = qos_.properties(); auto type_propagation = to_type_propagation(properties); bool should_assign_type_information = - (TypePropagation::TYPEPROPAGATION_ENABLED == type_propagation) || - (TypePropagation::TYPEPROPAGATION_MINIMAL_BANDWIDTH == type_propagation); + (TypePropagation::TYPEPROPAGATION_ENABLED == type_propagation) || + (TypePropagation::TYPEPROPAGATION_MINIMAL_BANDWIDTH == type_propagation); if (should_assign_type_information && (xtypes::TK_NONE != type->type_identifiers().type_identifier1()._d())) { xtypes::TypeInformation type_info; if (RETCODE_OK == - fastdds::rtps::RTPSDomainImpl::get_instance()->type_object_registry_observer().get_type_information( - type->type_identifiers(), type_info)) + fastdds::rtps::RTPSDomainImpl::get_instance()->type_object_registry_observer().get_type_information( + type->type_identifiers(), type_info)) { switch (type_propagation) { diff --git a/src/cpp/fastdds/subscriber/DataReaderImpl.cpp b/src/cpp/fastdds/subscriber/DataReaderImpl.cpp index 5f67a977f11..10e9e8de36a 100644 --- a/src/cpp/fastdds/subscriber/DataReaderImpl.cpp +++ b/src/cpp/fastdds/subscriber/DataReaderImpl.cpp @@ -2231,7 +2231,7 @@ ReturnCode_t DataReaderImpl::get_subscription_builtin_topic_data( subscription_data.group_data = subscriber_->qos_.group_data(); // X-Types 1.3 - if(subscriber_->get_participant_impl()->fill_type_information(type_, subscription_data.type_information)) + if (subscriber_->get_participant_impl()->fill_type_information(type_, subscription_data.type_information)) { subscription_data.type_consistency = qos_.type_consistency(); } diff --git a/test/mock/dds/DomainParticipantImpl/fastdds/domain/DomainParticipantImpl.hpp b/test/mock/dds/DomainParticipantImpl/fastdds/domain/DomainParticipantImpl.hpp index 89547354da7..fed9eddfb7b 100644 --- a/test/mock/dds/DomainParticipantImpl/fastdds/domain/DomainParticipantImpl.hpp +++ b/test/mock/dds/DomainParticipantImpl/fastdds/domain/DomainParticipantImpl.hpp @@ -719,7 +719,6 @@ class DomainParticipantImpl return false; } - protected: DomainId_t domain_id_;