Skip to content

Commit

Permalink
Refs #20181: linter
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <[email protected]>
  • Loading branch information
Mario-DL committed Jul 16, 2024
1 parent c093eaf commit 40eb072
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/cpp/rtps/builtin/discovery/participant/FakeWriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @file FakeWriter.hpp
*/

#ifndef FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__FAKEWRITER_HPP_
#define FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__FAKEWRITER_HPP_
#ifndef FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__FAKEWRITER_HPP
#define FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__FAKEWRITER_HPP

#include <fastdds/rtps/Endpoint.hpp>

Expand Down Expand Up @@ -52,4 +52,4 @@ class FakeWriter : public fastdds::rtps::Endpoint
} // namespace fastdds
} // namespace eprosima

#endif /* FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__FAKEWRITER_HPP_ */
#endif /* FASTDDS_RTPS_BUILTIN_DISCOVERY_PARTICIPANT__FAKEWRITER_HPP */
2 changes: 1 addition & 1 deletion src/cpp/utils/DirectSend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ inline void direct_send(
} // namespace fastdds
} // namespace eprosima

#endif // UTILS__DIRECTSEND_HPP
#endif // UTILS__DIRECTSEND_HPP
8 changes: 4 additions & 4 deletions test/blackbox/common/BlackboxTestsSecurity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5031,7 +5031,7 @@ TEST(Security, security_with_initial_peers_over_tcpv4_correctly_behaves)
Locator_t wan_locator;
IPFinder::getIP4Address(&all_locators);

for (auto &locator : all_locators)
for (auto& locator : all_locators)
{
if (!IPLocator::isLocal(locator))
{
Expand All @@ -5048,8 +5048,8 @@ TEST(Security, security_with_initial_peers_over_tcpv4_correctly_behaves)
LocatorList_t initial_peers;
initial_peers.push_back(wan_locator);
tcp_client.disable_builtin_transport()
.add_user_transport_to_pparams(tcp_client_transport_descriptor)
.initial_peers(initial_peers);
.add_user_transport_to_pparams(tcp_client_transport_descriptor)
.initial_peers(initial_peers);

auto tcp_server_transport_descriptor = std::make_shared<eprosima::fastdds::rtps::TCPv4TransportDescriptor>();
tcp_server_transport_descriptor->listening_ports.push_back(server_listening_port);
Expand All @@ -5058,7 +5058,7 @@ TEST(Security, security_with_initial_peers_over_tcpv4_correctly_behaves)
std::cout << "SETTING WAN address to " << wan_locator << std::endl;

tcp_server.disable_builtin_transport()
.add_user_transport_to_pparams(tcp_server_transport_descriptor);
.add_user_transport_to_pparams(tcp_server_transport_descriptor);

// Configure security
const std::string governance_file("governance_helloworld_all_enable.smime");
Expand Down

0 comments on commit 40eb072

Please sign in to comment.