From 6808253953f396bd71cb11cf27dfe1e65d677bdf Mon Sep 17 00:00:00 2001 From: Eduardo Ponz Segrelles Date: Mon, 20 May 2024 16:33:39 +0200 Subject: [PATCH] Adjust for removing all redundant headers from include/fastrtps (#73) 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_