From 0a1e3b021b4331894e997d10d6bbdcd1fa14f552 Mon Sep 17 00:00:00 2001 From: JesusPoderoso Date: Tue, 25 Jun 2024 15:07:37 +0200 Subject: [PATCH] Refs #21128: fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.hpp Signed-off-by: JesusPoderoso --- ...riptor.h => test_SharedMemTransportDescriptor.hpp} | 11 ++++++++--- .../transport/shared_mem/test_SharedMemTransport.h | 2 +- test/blackbox/common/BlackboxTestsTransportSHM.cpp | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) rename include/fastdds/rtps/transport/shared_mem/{test_SharedMemTransportDescriptor.h => test_SharedMemTransportDescriptor.hpp} (82%) diff --git a/include/fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.h b/include/fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.hpp similarity index 82% rename from include/fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.h rename to include/fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.hpp index 42ab5e762fb..ecb74b56548 100644 --- a/include/fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.h +++ b/include/fastdds/rtps/transport/shared_mem/test_SharedMemTransportDescriptor.hpp @@ -12,8 +12,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef _FASTDDS_TEST_SHAREDMEM_TRANSPORT_DESCRIPTOR_ -#define _FASTDDS_TEST_SHAREDMEM_TRANSPORT_DESCRIPTOR_ +/** + * @file test_SharedMemTransportDescriptor.hpp + * + */ + +#ifndef FASTDDS_RTPS_TRANSPORT_SHARED_MEM__TEST_SHAREDMEMTRANSPORTDESCRIPTOR_HPP +#define FASTDDS_RTPS_TRANSPORT_SHARED_MEM__TEST_SHAREDMEMTRANSPORTDESCRIPTOR_HPP #include @@ -48,4 +53,4 @@ typedef struct test_SharedMemTransportDescriptor : public SharedMemTransportDesc } // namespace fastdds } // namespace eprosima -#endif //_FASTDDS_TEST_SHAREDMEM_TRANSPORT_DESCRIPTOR_ +#endif //FASTDDS_RTPS_TRANSPORT_SHARED_MEM__TEST_SHAREDMEMTRANSPORTDESCRIPTOR_HPP diff --git a/src/cpp/rtps/transport/shared_mem/test_SharedMemTransport.h b/src/cpp/rtps/transport/shared_mem/test_SharedMemTransport.h index 0a676caec18..3f43e8b0e9c 100644 --- a/src/cpp/rtps/transport/shared_mem/test_SharedMemTransport.h +++ b/src/cpp/rtps/transport/shared_mem/test_SharedMemTransport.h @@ -15,7 +15,7 @@ #ifndef _FASTDDS_TEST_SHAREDMEM_TRANSPORT_H_ #define _FASTDDS_TEST_SHAREDMEM_TRANSPORT_H_ -#include +#include #include diff --git a/test/blackbox/common/BlackboxTestsTransportSHM.cpp b/test/blackbox/common/BlackboxTestsTransportSHM.cpp index 7e1e1bc1797..710b8364890 100644 --- a/test/blackbox/common/BlackboxTestsTransportSHM.cpp +++ b/test/blackbox/common/BlackboxTestsTransportSHM.cpp @@ -23,7 +23,7 @@ #include "./mock/BlackboxMockConsumer.h" #include -#include +#include #include #include