From b726e632fab97d7b0921fb3570698426616a732c Mon Sep 17 00:00:00 2001 From: EduPonz Date: Wed, 4 Dec 2019 12:05:01 +0100 Subject: [PATCH] Correct line length Signed-off-by: EduPonz --- rmw_fastrtps_cpp/src/rmw_client.cpp | 8 ++++---- rmw_fastrtps_cpp/src/rmw_service.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/rmw_fastrtps_cpp/src/rmw_client.cpp b/rmw_fastrtps_cpp/src/rmw_client.cpp index 4d08156e3..8f168c067 100644 --- a/rmw_fastrtps_cpp/src/rmw_client.cpp +++ b/rmw_fastrtps_cpp/src/rmw_client.cpp @@ -178,10 +178,10 @@ rmw_create_client( if (std::getenv("FASTRTPS_DEFAULT_PROFILES_FILE") != nullptr) { - if (XMLProfileManager::fillSubscriberAttributes(sub_topic_name.to_string(), subscriberParam) != + if (XMLProfileManager::fillSubscriberAttributes(sub_topic_name.to_string(), subscriberParam, false) != XMLP_ret::XML_OK) { - XMLProfileManager::fillSubscriberAttributes(topic_name_fallback, subscriberParam); + XMLProfileManager::fillSubscriberAttributes(topic_name_fallback, subscriberParam, false); } } @@ -204,10 +204,10 @@ rmw_create_client( if (std::getenv("FASTRTPS_DEFAULT_PROFILES_FILE") != nullptr) { - if (XMLProfileManager::fillPublisherAttributes(pub_topic_name.to_string(), publisherParam) != + if (XMLProfileManager::fillPublisherAttributes(pub_topic_name.to_string(), publisherParam, false) != XMLP_ret::XML_OK) { - XMLProfileManager::fillPublisherAttributes(topic_name_fallback, publisherParam); + XMLProfileManager::fillPublisherAttributes(topic_name_fallback, publisherParam, false); } } diff --git a/rmw_fastrtps_cpp/src/rmw_service.cpp b/rmw_fastrtps_cpp/src/rmw_service.cpp index c1399c45c..16ef5c1a3 100644 --- a/rmw_fastrtps_cpp/src/rmw_service.cpp +++ b/rmw_fastrtps_cpp/src/rmw_service.cpp @@ -188,10 +188,10 @@ rmw_create_service( if (std::getenv("FASTRTPS_DEFAULT_PROFILES_FILE") != nullptr) { - if (XMLProfileManager::fillSubscriberAttributes(sub_topic_name.to_string(), subscriberParam) != + if (XMLProfileManager::fillSubscriberAttributes(sub_topic_name.to_string(), subscriberParam, false) != XMLP_ret::XML_OK) { - XMLProfileManager::fillSubscriberAttributes(topic_name_fallback, subscriberParam); + XMLProfileManager::fillSubscriberAttributes(topic_name_fallback, subscriberParam, false); } } @@ -213,10 +213,10 @@ rmw_create_service( if (std::getenv("FASTRTPS_DEFAULT_PROFILES_FILE") != nullptr) { - if (XMLProfileManager::fillPublisherAttributes(pub_topic_name.to_string(), publisherParam) != + if (XMLProfileManager::fillPublisherAttributes(pub_topic_name.to_string(), publisherParam, false) != XMLP_ret::XML_OK) { - XMLProfileManager::fillPublisherAttributes(topic_name_fallback, publisherParam); + XMLProfileManager::fillPublisherAttributes(topic_name_fallback, publisherParam, false); } }