From d05d14881846f01df053dcd4f98ba4b00654167a Mon Sep 17 00:00:00 2001 From: JesusPoderoso Date: Mon, 17 Jun 2024 17:17:39 +0200 Subject: [PATCH] Refs #21128: Please linter (avoiding generated files) Signed-off-by: JesusPoderoso --- include/fastdds/dds/domain/qos/RequesterQos.hpp | 8 ++++---- include/fastdds/dds/log/Colors.hpp | 2 +- include/fastdds/rtps/common/ChangeKind_t.hpp | 2 +- include/fastdds/rtps/common/GuidPrefix_t.hpp | 2 +- include/fastdds/rtps/common/LocatorSelector.hpp | 6 +++--- include/fastdds/rtps/common/LocatorsIterator.hpp | 2 +- include/fastdds/rtps/common/RemoteLocators.hpp | 8 ++++---- include/fastdds/rtps/common/VendorId_t.hpp | 2 +- .../fastdds/rtps/interfaces/IReaderDataFilter.hpp | 8 ++++---- .../rtps/messages/RTPSMessageSenderInterface.hpp | 8 ++++---- .../statistics/dds/domain/DomainParticipant.hpp | 2 +- .../dds/subscriber/qos/DataReaderQos.hpp | 2 +- src/cpp/rtps/attributes/PropertyPolicy.cpp | 2 +- src/cpp/rtps/security/SecurityManager.cpp | 14 +++++++------- .../blackbox/common/RTPSWithRegistrationReader.hpp | 1 + 15 files changed, 35 insertions(+), 34 deletions(-) diff --git a/include/fastdds/dds/domain/qos/RequesterQos.hpp b/include/fastdds/dds/domain/qos/RequesterQos.hpp index 9b09ce86cdd..a13bcb72ec8 100644 --- a/include/fastdds/dds/domain/qos/RequesterQos.hpp +++ b/include/fastdds/dds/domain/qos/RequesterQos.hpp @@ -73,8 +73,8 @@ class RequesterQos DataReaderQos reader_qos; }; -} // namespace dds -} // namespace fastdds -} // namespace eprosima +} // namespace dds +} // namespace fastdds +} // namespace eprosima -#endif // FASTDDS_DDS_DOMAIN_QOS__REQUESTERQOS_HPP +#endif // FASTDDS_DDS_DOMAIN_QOS__REQUESTERQOS_HPP diff --git a/include/fastdds/dds/log/Colors.hpp b/include/fastdds/dds/log/Colors.hpp index 1bb6c857a90..6e731384b0c 100644 --- a/include/fastdds/dds/log/Colors.hpp +++ b/include/fastdds/dds/log/Colors.hpp @@ -57,4 +57,4 @@ #endif // if defined(_WIN32) -#endif // FASTDDS_DDS_LOG__COLORS_HPP +#endif // FASTDDS_DDS_LOG__COLORS_HPP diff --git a/include/fastdds/rtps/common/ChangeKind_t.hpp b/include/fastdds/rtps/common/ChangeKind_t.hpp index 191184df998..c46919613a4 100644 --- a/include/fastdds/rtps/common/ChangeKind_t.hpp +++ b/include/fastdds/rtps/common/ChangeKind_t.hpp @@ -41,4 +41,4 @@ enum FASTDDS_EXPORTED_API ChangeKind_t } // namespace fastdds } // namespace eprosima -#endif // FASTDDS_RTPS_COMMON__CHANGEKIND_T_HPP +#endif // FASTDDS_RTPS_COMMON__CHANGEKIND_T_HPP diff --git a/include/fastdds/rtps/common/GuidPrefix_t.hpp b/include/fastdds/rtps/common/GuidPrefix_t.hpp index ffdb58fc5fc..39c3c768d74 100644 --- a/include/fastdds/rtps/common/GuidPrefix_t.hpp +++ b/include/fastdds/rtps/common/GuidPrefix_t.hpp @@ -212,4 +212,4 @@ inline std::istream& operator >>( } // namespace fastdds } // namespace eprosima -#endif // FASTDDS_RTPS_COMMON__GUIDPREFIX_T_HPP +#endif // FASTDDS_RTPS_COMMON__GUIDPREFIX_T_HPP diff --git a/include/fastdds/rtps/common/LocatorSelector.hpp b/include/fastdds/rtps/common/LocatorSelector.hpp index cbd3ea38019..ef9944b008c 100644 --- a/include/fastdds/rtps/common/LocatorSelector.hpp +++ b/include/fastdds/rtps/common/LocatorSelector.hpp @@ -472,8 +472,8 @@ class LocatorSelector ResourceLimitedVector last_state_; }; -} // namespace rtps -} // namespace fastdds -} // namespace eprosima +} // namespace rtps +} // namespace fastdds +} // namespace eprosima #endif // FASTDDS_RTPS_COMMON__LOCATORSELECTOR_HPP diff --git a/include/fastdds/rtps/common/LocatorsIterator.hpp b/include/fastdds/rtps/common/LocatorsIterator.hpp index 19603326793..40ff748c87c 100644 --- a/include/fastdds/rtps/common/LocatorsIterator.hpp +++ b/include/fastdds/rtps/common/LocatorsIterator.hpp @@ -69,4 +69,4 @@ using LocatorsIterator = eprosima::fastdds::rtps::LocatorsIterator; } // namespace fastdds } // namespace eprosima -#endif // FASTDDS_RTPS_COMMON__LOCATORSITERATOR_HPP +#endif // FASTDDS_RTPS_COMMON__LOCATORSITERATOR_HPP diff --git a/include/fastdds/rtps/common/RemoteLocators.hpp b/include/fastdds/rtps/common/RemoteLocators.hpp index 726df41a4cb..8a06a223f9d 100644 --- a/include/fastdds/rtps/common/RemoteLocators.hpp +++ b/include/fastdds/rtps/common/RemoteLocators.hpp @@ -233,8 +233,8 @@ inline std::istream& operator >>( return input; } -} // namespace rtps -} // namespace fastdds -} // namespace eprosima +} // namespace rtps +} // namespace fastdds +} // namespace eprosima -#endif // FASTDDS_RTPS_COMMON__REMOTELOCATORS_HPP +#endif // FASTDDS_RTPS_COMMON__REMOTELOCATORS_HPP diff --git a/include/fastdds/rtps/common/VendorId_t.hpp b/include/fastdds/rtps/common/VendorId_t.hpp index 64c42c75f39..1b6ec7464d8 100644 --- a/include/fastdds/rtps/common/VendorId_t.hpp +++ b/include/fastdds/rtps/common/VendorId_t.hpp @@ -54,4 +54,4 @@ inline std::ostream& operator <<( return output; } -#endif // FASTDDS_RTPS_COMMON__VENDORID_T_HPP +#endif // FASTDDS_RTPS_COMMON__VENDORID_T_HPP diff --git a/include/fastdds/rtps/interfaces/IReaderDataFilter.hpp b/include/fastdds/rtps/interfaces/IReaderDataFilter.hpp index 5a22fd69e7d..2843c9ddf0e 100644 --- a/include/fastdds/rtps/interfaces/IReaderDataFilter.hpp +++ b/include/fastdds/rtps/interfaces/IReaderDataFilter.hpp @@ -48,8 +48,8 @@ class IReaderDataFilter const fastdds::rtps::GUID_t& reader_guid) const = 0; }; -} // namespace rtps -} // namespace fastdds -} // namespace eprosima +} // namespace rtps +} // namespace fastdds +} // namespace eprosima -#endif // FASTDDS_RTPS_INTERFACES__IREADERDATAFILTER_HPP +#endif // FASTDDS_RTPS_INTERFACES__IREADERDATAFILTER_HPP diff --git a/include/fastdds/rtps/messages/RTPSMessageSenderInterface.hpp b/include/fastdds/rtps/messages/RTPSMessageSenderInterface.hpp index f4b3e389b01..d33b7f668aa 100644 --- a/include/fastdds/rtps/messages/RTPSMessageSenderInterface.hpp +++ b/include/fastdds/rtps/messages/RTPSMessageSenderInterface.hpp @@ -98,10 +98,10 @@ class RTPSMessageSenderInterface }; -} // namespace rtps -} // namespace fastdds -} // namespace eprosima +} // namespace rtps +} // namespace fastdds +} // namespace eprosima #endif // ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC -#endif // FASTDDS_RTPS_MESSAGES__RTPSMESSAGESENDERINTERFACE_HPP +#endif // FASTDDS_RTPS_MESSAGES__RTPSMESSAGESENDERINTERFACE_HPP diff --git a/include/fastdds/statistics/dds/domain/DomainParticipant.hpp b/include/fastdds/statistics/dds/domain/DomainParticipant.hpp index c1a2cde3044..c5bdc3a8c75 100644 --- a/include/fastdds/statistics/dds/domain/DomainParticipant.hpp +++ b/include/fastdds/statistics/dds/domain/DomainParticipant.hpp @@ -219,4 +219,4 @@ class DomainParticipant : public eprosima::fastdds::dds::DomainParticipant } // namespace fastdds } // namespace eprosima -#endif // FASTDDS_STATISTICS_DDS_DOMAIN__DOMAINPARTICIPANT_HPP +#endif // FASTDDS_STATISTICS_DDS_DOMAIN__DOMAINPARTICIPANT_HPP diff --git a/include/fastdds/statistics/dds/subscriber/qos/DataReaderQos.hpp b/include/fastdds/statistics/dds/subscriber/qos/DataReaderQos.hpp index 59d45399de9..bbf6e9bde78 100644 --- a/include/fastdds/statistics/dds/subscriber/qos/DataReaderQos.hpp +++ b/include/fastdds/statistics/dds/subscriber/qos/DataReaderQos.hpp @@ -67,4 +67,4 @@ const eprosima::fastdds::statistics::dds::MonitorServiceDataReaderQos MONITOR_SE } // fastdds } // eprosima -#endif // FASTDDS_STATISTICS_DDS_SUBSCRIBER_QOS__DATAREADERQOS_HPP +#endif // FASTDDS_STATISTICS_DDS_SUBSCRIBER_QOS__DATAREADERQOS_HPP diff --git a/src/cpp/rtps/attributes/PropertyPolicy.cpp b/src/cpp/rtps/attributes/PropertyPolicy.cpp index 841368c82a8..58b9f88f093 100644 --- a/src/cpp/rtps/attributes/PropertyPolicy.cpp +++ b/src/cpp/rtps/attributes/PropertyPolicy.cpp @@ -22,7 +22,7 @@ namespace eprosima { namespace fastdds { -namespace rtps{ +namespace rtps { PropertyPolicy PropertyPolicyHelper::get_properties_with_prefix( const PropertyPolicy& property_policy, diff --git a/src/cpp/rtps/security/SecurityManager.cpp b/src/cpp/rtps/security/SecurityManager.cpp index e888dc99904..757fbecf1bb 100644 --- a/src/cpp/rtps/security/SecurityManager.cpp +++ b/src/cpp/rtps/security/SecurityManager.cpp @@ -87,14 +87,14 @@ SecurityManager::SecurityManager( , auth_last_sequence_number_(1) , crypto_last_sequence_number_(1) , temp_reader_proxies_({ - participant->getRTPSParticipantAttributes().allocation.locators.max_unicast_locators, - participant->getRTPSParticipantAttributes().allocation.locators.max_multicast_locators, - participant->getRTPSParticipantAttributes().allocation.data_limits, - participant->getRTPSParticipantAttributes().allocation.content_filter}) + participant->getRTPSParticipantAttributes().allocation.locators.max_unicast_locators, + participant->getRTPSParticipantAttributes().allocation.locators.max_multicast_locators, + participant->getRTPSParticipantAttributes().allocation.data_limits, + participant->getRTPSParticipantAttributes().allocation.content_filter}) , temp_writer_proxies_({ - participant->getRTPSParticipantAttributes().allocation.locators.max_unicast_locators, - participant->getRTPSParticipantAttributes().allocation.locators.max_multicast_locators, - participant->getRTPSParticipantAttributes().allocation.data_limits}) + participant->getRTPSParticipantAttributes().allocation.locators.max_unicast_locators, + participant->getRTPSParticipantAttributes().allocation.locators.max_multicast_locators, + participant->getRTPSParticipantAttributes().allocation.data_limits}) { assert(participant != nullptr); static OpenSSLInit openssl_init; diff --git a/test/blackbox/common/RTPSWithRegistrationReader.hpp b/test/blackbox/common/RTPSWithRegistrationReader.hpp index 72d30683406..f2b3b253b90 100644 --- a/test/blackbox/common/RTPSWithRegistrationReader.hpp +++ b/test/blackbox/common/RTPSWithRegistrationReader.hpp @@ -112,6 +112,7 @@ class RTPSWithRegistrationReader } private: + Listener& operator =( const Listener&) = delete;