From d479816998181bd2921bb7c43d36e2f5b7fdc8e0 Mon Sep 17 00:00:00 2001 From: JesusPoderoso Date: Wed, 10 Jul 2024 13:03:52 +0200 Subject: [PATCH] Refs #21329: Apply Eliana' suggestions Signed-off-by: JesusPoderoso --- include/fastdds/dds/publisher/DataWriter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fastdds/dds/publisher/DataWriter.hpp b/include/fastdds/dds/publisher/DataWriter.hpp index 2ab8dcaf71f..84f87260913 100644 --- a/include/fastdds/dds/publisher/DataWriter.hpp +++ b/include/fastdds/dds/publisher/DataWriter.hpp @@ -128,7 +128,7 @@ class DataWriter : public DomainEntity * Write data to the topic. * * @param data Pointer to the data - * @return RETCODE_OK if the data is correctly sent and RETCODE_ERROR otherwise. + * @return RETCODE_OK if the data is correctly sent or a ReturnCode related to the specific error otherwise. */ FASTDDS_EXPORTED_API ReturnCode_t write( const void* const data); @@ -138,7 +138,7 @@ class DataWriter : public DomainEntity * * @param data Pointer to the data * @param params Extra write parameters. - * @return RETCODE_OK if the data is correctly sent and RETCODE_ERROR otherwise. + * @return RETCODE_OK if the data is correctly sent or a ReturnCode related to the specific error otherwise. */ FASTDDS_EXPORTED_API ReturnCode_t write( const void* const data,