From 3bbb1bc4caf8794d5042b4e8c9634c10daa078ec Mon Sep 17 00:00:00 2001 From: EduPonz Date: Wed, 27 Mar 2024 15:32:23 +0100 Subject: [PATCH] Refs #20568: Address header removal in Fast DDS Signed-off-by: EduPonz --- include/DiscoveryItem.h | 2 +- src/DSLog.h.in | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/DiscoveryItem.h b/include/DiscoveryItem.h index b9ef6088..9d98d71a 100644 --- a/include/DiscoveryItem.h +++ b/include/DiscoveryItem.h @@ -24,7 +24,7 @@ #include #include -#include +#include namespace tinyxml2 { class XMLElement; diff --git a/src/DSLog.h.in b/src/DSLog.h.in index fb4836d1..09d6f4ec 100644 --- a/src/DSLog.h.in +++ b/src/DSLog.h.in @@ -31,11 +31,11 @@ #undef LOG_NO_ERROR #endif -#include +#include -#define LOG(x) logInfo(DISCOVERY_SERVER,x) -#define LOG_INFO(x) logInfo(DISCOVERY_SERVER,x) -#define LOG_WARN(x) logWarning(DISCOVERY_SERVER,x) -#define LOG_ERROR(x) logError(DISCOVERY_SERVER,x) +#define LOG(x) EPROSIMA_LOG_INFO(DISCOVERY_SERVER,x); +#define LOG_INFO(x) EPROSIMA_LOG_INFO(DISCOVERY_SERVER,x); +#define LOG_WARN(x) EPROSIMA_LOG_WARNING(DISCOVERY_SERVER,x;); +#define LOG_ERROR(x) EPROSIMA_LOG_ERROR(DISCOVERY_SERVER,x); -#endif // _EPROSIMA_IS_LOG_H_ \ No newline at end of file +#endif // _EPROSIMA_IS_LOG_H_