@@ -446,7 +446,8 @@ bool EDP::updatedLocalReader(
446446 if (!rdata->type_information ().assigned ())
447447 {
448448 const types::TypeInformation* type_info =
449- types::TypeObjectFactory::get_instance ()->get_type_information (rdata->typeName ().c_str ());
449+ types::TypeObjectFactory::get_instance ()->get_type_information (
450+ rdata->typeName ().c_str ());
450451 if (type_info != nullptr )
451452 {
452453 rdata->type_information () = *type_info;
@@ -538,7 +539,8 @@ bool EDP::updatedLocalWriter(
538539 if (!wdata->type_information ().assigned ())
539540 {
540541 const types::TypeInformation* type_info =
541- types::TypeObjectFactory::get_instance ()->get_type_information (wdata->typeName ().c_str ());
542+ types::TypeObjectFactory::get_instance ()->get_type_information (
543+ wdata->typeName ().c_str ());
542544 if (type_info != nullptr )
543545 {
544546 wdata->type_information () = *type_info;
@@ -714,8 +716,10 @@ bool EDP::valid_matching(
714716 if (wdata->topicKind () != rdata->topicKind ())
715717 {
716718 EPROSIMA_LOG_WARNING (RTPS_EDP , " INCOMPATIBLE QOS:Remote Reader " << rdata->guid () << " is publishing in topic "
717- << rdata->topicName () << " (keyed:" << rdata->topicKind () <<
718- " ), local writer publishes as keyed: " << wdata->topicKind ());
719+ << rdata->topicName () << " (keyed:"
720+ << rdata->topicKind ()
721+ << " ), local writer publishes as keyed: "
722+ << wdata->topicKind ());
719723
720724 reason.set (MatchingFailureMask::inconsistent_topic);
721725 return false ;
@@ -733,16 +737,17 @@ bool EDP::valid_matching(
733737 // Means our writer is BE but the reader wants RE
734738 {
735739 EPROSIMA_LOG_WARNING (RTPS_EDP , " INCOMPATIBLE QOS (topic: " << rdata->topicName () << " ):Remote Reader "
736- << rdata->guid () <<
737- " is Reliable and local writer is BE " );
740+ << rdata->guid ()
741+ << " is Reliable and local writer is BE " );
738742 incompatible_qos.set (fastdds::dds::RELIABILITY_QOS_POLICY_ID );
739743 }
740744
741745 if (wdata->m_qos .m_durability .kind < rdata->m_qos .m_durability .kind )
742746 {
743747 // TODO (MCC) Change log message
744748 EPROSIMA_LOG_WARNING (RTPS_EDP , " INCOMPATIBLE QOS (topic: " << rdata->topicName () << " ):RemoteReader "
745- << rdata->guid () <<
749+ << rdata->guid ()
750+ <<
746751 " has TRANSIENT_LOCAL DURABILITY and we offer VOLATILE" );
747752 incompatible_qos.set (fastdds::dds::DURABILITY_QOS_POLICY_ID );
748753 }
@@ -994,8 +999,8 @@ bool EDP::pairingReader(
994999 if (R->matched_writer_add (*wdatait))
9951000 {
9961001 EPROSIMA_LOG_INFO (RTPS_EDP_MATCH ,
997- " WP:" << wdatait->guid () << " match R:" << R->getGuid () << " . RLoc:" <<
998- wdatait->remote_locators ());
1002+ " WP:" << wdatait->guid () << " match R:" << R->getGuid () << " . RLoc:"
1003+ << wdatait->remote_locators ());
9991004 // MATCHED AND ADDED CORRECTLY:
10001005 if (R->getListener () != nullptr )
10011006 {
@@ -1090,8 +1095,8 @@ bool EDP::pairingWriter(
10901095 if (W->matched_reader_add (*rdatait))
10911096 {
10921097 EPROSIMA_LOG_INFO (RTPS_EDP_MATCH ,
1093- " RP:" << rdatait->guid () << " match W:" << W->getGuid () << " . WLoc:" <<
1094- rdatait->remote_locators ());
1098+ " RP:" << rdatait->guid () << " match W:" << W->getGuid () << " . WLoc:"
1099+ << rdatait->remote_locators ());
10951100 // MATCHED AND ADDED CORRECTLY:
10961101 if (W->getListener () != nullptr )
10971102 {
@@ -1176,8 +1181,8 @@ bool EDP::pairing_reader_proxy_with_any_local_writer(
11761181 if (w.matched_reader_add (*rdata))
11771182 {
11781183 EPROSIMA_LOG_INFO (RTPS_EDP_MATCH ,
1179- " RP:" << rdata->guid () << " match W:" << w.getGuid () << " . RLoc:" <<
1180- rdata->remote_locators ());
1184+ " RP:" << rdata->guid () << " match W:" << w.getGuid () << " . RLoc:"
1185+ << rdata->remote_locators ());
11811186 // MATCHED AND ADDED CORRECTLY:
11821187 if (w.getListener () != nullptr )
11831188 {
@@ -1383,8 +1388,8 @@ bool EDP::pairing_writer_proxy_with_any_local_reader(
13831388 if (r.matched_writer_add (*wdata))
13841389 {
13851390 EPROSIMA_LOG_INFO (RTPS_EDP_MATCH ,
1386- " WP:" << wdata->guid () << " match R:" << r.getGuid () << " . WLoc:" <<
1387- wdata->remote_locators ());
1391+ " WP:" << wdata->guid () << " match R:" << r.getGuid () << " . WLoc:"
1392+ << wdata->remote_locators ());
13881393 // MATCHED AND ADDED CORRECTLY:
13891394 if (r.getListener () != nullptr )
13901395 {
0 commit comments