From 212d70a9abb322105563ec103ab0143c81e06735 Mon Sep 17 00:00:00 2001 From: elianalf <62831776+elianalf@users.noreply.github.com> Date: Mon, 27 May 2024 08:46:44 +0200 Subject: [PATCH] Refs #20820: Uncrustify Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com> --- include/fastdds/rtps/attributes/EndpointAttributes.h | 2 +- include/fastrtps/qos/ParameterTypes.h | 2 +- src/cpp/rtps/attributes/EndpointSecurityAttributes.cpp | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/fastdds/rtps/attributes/EndpointAttributes.h b/include/fastdds/rtps/attributes/EndpointAttributes.h index 5fdd9b99113..6451c9eda18 100644 --- a/include/fastdds/rtps/attributes/EndpointAttributes.h +++ b/include/fastdds/rtps/attributes/EndpointAttributes.h @@ -162,7 +162,7 @@ class EndpointAttributes int16_t m_entityID = -1; #if HAVE_SECURITY - //! Security attributes + //! Security attributes security::EndpointSecurityAttributes security_attributes_; #endif // HAVE_SECURITY diff --git a/include/fastrtps/qos/ParameterTypes.h b/include/fastrtps/qos/ParameterTypes.h index ed6a324df50..001390f13cd 100644 --- a/include/fastrtps/qos/ParameterTypes.h +++ b/include/fastrtps/qos/ParameterTypes.h @@ -37,7 +37,7 @@ namespace eprosima { namespace fastrtps { #if HAVE_SECURITY -namespace rtps{ +namespace rtps { namespace security { struct ParticipantSecurityAttributes; } /* namespace security */ diff --git a/src/cpp/rtps/attributes/EndpointSecurityAttributes.cpp b/src/cpp/rtps/attributes/EndpointSecurityAttributes.cpp index 56d4fbf0a22..80bb5d66dd4 100644 --- a/src/cpp/rtps/attributes/EndpointSecurityAttributes.cpp +++ b/src/cpp/rtps/attributes/EndpointSecurityAttributes.cpp @@ -87,10 +87,9 @@ bool EndpointSecurityAttributes::match( const PluginEndpointSecurityAttributesMask remotePluginMask) const { return security_mask_matches(mask(), remoteMask) && - security_mask_matches(plugin_endpoint_attributes, remotePluginMask); + security_mask_matches(plugin_endpoint_attributes, remotePluginMask); } - } // namespace security } // namespace rtps } // namespace fastrtps