Skip to content

Commit

Permalink
Fix uncrustify
Browse files Browse the repository at this point in the history
Signed-off-by: Lucia Echevarria <luciaechevarria@eprosima.com>
  • Loading branch information
LuciaEchevarria99 committed Sep 10, 2024
1 parent b0c8072 commit 5154606
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ DiscoveryServerParticipant::reckon_participant_attributes_() const
std::shared_ptr<DiscoveryServerParticipantConfiguration> discovery_server_configuration =
std::dynamic_pointer_cast<DiscoveryServerParticipantConfiguration>(configuration_);

if(discovery_server_configuration == nullptr)
if (discovery_server_configuration == nullptr)
{
throw utils::ConfigurationException(
"Failed to cast ParticipantConfiguration to DiscoveryServerParticipantConfiguration.");
"Failed to cast ParticipantConfiguration to DiscoveryServerParticipantConfiguration.");
}

// Auxiliary variable to save characters and improve readability
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ fastdds::rtps::RTPSParticipantAttributes InitialPeersParticipant::reckon_partici
std::shared_ptr<InitialPeersParticipantConfiguration> initial_peers_configuration =
std::dynamic_pointer_cast<InitialPeersParticipantConfiguration>(configuration_);

if(initial_peers_configuration == nullptr)
if (initial_peers_configuration == nullptr)
{
throw utils::ConfigurationException(
"Failed to cast ParticipantConfiguration to InitialPeersParticipantConfiguration.");
"Failed to cast ParticipantConfiguration to InitialPeersParticipantConfiguration.");
}

// Auxiliary variable to save characters and improve readability
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SimpleParticipant::reckon_participant_attributes_() const
std::shared_ptr<SimpleParticipantConfiguration> simple_configuration =
std::dynamic_pointer_cast<SimpleParticipantConfiguration>(configuration_);

if(simple_configuration == nullptr)
if (simple_configuration == nullptr)
{
throw utils::ConfigurationException("Failed to cast ParticipantConfiguration to SimpleParticipantConfiguration.");
}
Expand Down

0 comments on commit 5154606

Please sign in to comment.