From d16543a3b4c70ee29da64172e04df7498c5421a6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 18 Oct 2022 23:10:17 +0100 Subject: [PATCH] [Minor] Use __func__ in c++ mode as defined by standard --- src/libserver/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserver/logger.h b/src/libserver/logger.h index 35792e68e..164e0b97e 100644 --- a/src/libserver/logger.h +++ b/src/libserver/logger.h @@ -252,7 +252,7 @@ struct rspamd_logger_funcs* rspamd_logger_set_log_function (rspamd_logger_t *log extern guint rspamd_task_log_id; #ifdef __cplusplus -#define RSPAMD_LOG_FUNC __FUNCTION__ +#define RSPAMD_LOG_FUNC __func__ #else #define RSPAMD_LOG_FUNC G_STRFUNC #endif -- 2.39.5