From 4f66313440fe4d307b1d1e0a2550a9c12af75a95 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 10 Nov 2019 00:35:34 +0200 Subject: [PATCH] Fix #1308 --- include/spdlog/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 6edd6fa9..830220ef 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -62,7 +62,7 @@ #endif #ifndef SPDLOG_FUNCTION -#define SPDLOG_FUNCTION __FUNCTION__ +#define SPDLOG_FUNCTION static_cast(__FUNCTION__) #endif #ifdef SPDLOG_NO_EXCEPTIONS