Skip to content

Commit

Permalink
Fully support dynamic addition of remote servers in deprecated API (#…
Browse files Browse the repository at this point in the history
…2304)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
  • Loading branch information
JLBuenoLopez authored Nov 3, 2021
1 parent 885e02e commit e6c9cf9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cpp/fastrtps_deprecated/Domain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ void Domain::getDefaultParticipantAttributes(
{
if (false == default_xml_profiles_loaded)
{
SystemInfo::set_environment_file();
XMLProfileManager::loadDefaultXMLFile();
default_xml_profiles_loaded = true;
}
Expand Down Expand Up @@ -262,6 +263,7 @@ void Domain::getDefaultPublisherAttributes(
{
if (false == default_xml_profiles_loaded)
{
SystemInfo::set_environment_file();
XMLProfileManager::loadDefaultXMLFile();
default_xml_profiles_loaded = true;
}
Expand All @@ -274,6 +276,7 @@ void Domain::getDefaultSubscriberAttributes(
{
if (false == default_xml_profiles_loaded)
{
SystemInfo::set_environment_file();
XMLProfileManager::loadDefaultXMLFile();
default_xml_profiles_loaded = true;
}
Expand Down Expand Up @@ -409,6 +412,7 @@ bool Domain::loadXMLProfilesFile(
{
if (false == default_xml_profiles_loaded)
{
SystemInfo::set_environment_file();
XMLProfileManager::loadDefaultXMLFile();
default_xml_profiles_loaded = true;
}
Expand Down

0 comments on commit e6c9cf9

Please sign in to comment.