Skip to content

Commit

Permalink
Refs #21357. Uncrustify.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany committed Jul 29, 2024
1 parent 4c3d06e commit dfbfd8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/cpp/fastdds/domain/DomainParticipantImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/fastdds/subscriber/DataReaderImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,6 @@ class DomainParticipantImpl
return false;
}


protected:

DomainId_t domain_id_;
Expand Down

0 comments on commit dfbfd8a

Please sign in to comment.