diff --git a/include/fastdds/rtps/builtin/discovery/participant/PDP.h b/include/fastdds/rtps/builtin/discovery/participant/PDP.h index 52e7c668deb..8e84de94e40 100644 --- a/include/fastdds/rtps/builtin/discovery/participant/PDP.h +++ b/include/fastdds/rtps/builtin/discovery/participant/PDP.h @@ -456,7 +456,7 @@ class PDP * GUID and comparing it with the remote participant prefix. * * @param guid_prefix the original desired guid_prefix to compare - * @param participant_proxy_data The participant proxy data to compare against + * @param participant_data The participant proxy data to compare against * * @return true when prefixes are equivalent */ diff --git a/include/fastdds/rtps/security/authentication/Authentication.h b/include/fastdds/rtps/security/authentication/Authentication.h index 71da53b2f0d..263328167c5 100644 --- a/include/fastdds/rtps/security/authentication/Authentication.h +++ b/include/fastdds/rtps/security/authentication/Authentication.h @@ -257,10 +257,12 @@ class Authentication * @return true when @c adjusted corresponds to @c original */ virtual bool check_guid_comes_from( - IdentityHandle* /*identity_handle*/, + IdentityHandle* identity_handle, const GUID_t& adjusted, const GUID_t& original) { + static_cast(identity_handle); + //! By default, return this comparison return adjusted == original; }