Skip to content

Commit

Permalink
Correct line length
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
  • Loading branch information
EduPonz committed Dec 17, 2020
1 parent cf91480 commit b726e63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions rmw_fastrtps_cpp/src/rmw_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand All @@ -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);
}
}

Expand Down
8 changes: 4 additions & 4 deletions rmw_fastrtps_cpp/src/rmw_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand All @@ -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);
}
}

Expand Down

0 comments on commit b726e63

Please sign in to comment.