From: Vsevolod Stakhov Date: Tue, 18 Oct 2022 22:10:17 +0000 (+0100) Subject: [Minor] Use __func__ in c++ mode as defined by standard X-Git-Tag: 3.4~44 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d16543a3b4c70ee29da64172e04df7498c5421a6;p=rspamd.git [Minor] Use __func__ in c++ mode as defined by standard --- 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