Skip to content

Commit 3aa2026

Browse files
wep21MiguelCompany
andauthored
Replace logWarning with EPROSIMA_LOG_WARNING in RTCPHeader.h (#6175)
* chore: replace logWarning with EPROSIMA_LOG_WARNING in RTCPHeader.h Signed-off-by: Daisuke Nishimatsu <[email protected]> * Disable old log macros in fastdds build config Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Daisuke Nishimatsu <[email protected]> Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Miguel Company <[email protected]>
1 parent d538426 commit 3aa2026

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/config/fastdds_build.meta

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ names:
44
- "-DBUILD_DOCUMENTATION=OFF"
55
- "-DCOMPILE_EXAMPLES=ON"
66
- "-DFASTDDS_ENFORCE_LOG_INFO=ON"
7+
- "-DENABLE_OLD_LOG_MACROS=OFF"
78
- "-DINSTALL_EXAMPLES=ON"
89
- "-DINTERNAL_DEBUG=ON"
910
- "-DNO_TLS=OFF"

src/cpp/rtps/transport/tcp/RTCPHeader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class TCPControlMsgHeader
364364
Endianness_t::BIGEND;
365365
if (internal_endian != msg_endian)
366366
{
367-
logWarning(RTCP_MSG, "endianness of rtcp header is not consistent with CDRMsg");
367+
EPROSIMA_LOG_WARNING(RTCP_MSG, "endianness of rtcp header is not consistent with CDRMsg");
368368
return;
369369
}
370370

0 commit comments

Comments
 (0)