From 9326260a6ae4c9d59a090445a814bae9bc5e39c6 Mon Sep 17 00:00:00 2001 From: George Tokmaji Date: Mon, 18 Nov 2024 14:03:51 +0100 Subject: [PATCH] C4Log: Workaround gcc bug in C4LOGGERCONFIG_NAME_TYPE macro definition --- src/C4Log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/C4Log.h b/src/C4Log.h index e2269743..3222113d 100644 --- a/src/C4Log.h +++ b/src/C4Log.h @@ -48,7 +48,7 @@ namespace C4LoggerConfig template struct Name; -#define C4LOGGERCONFIG_NAME_TYPE(type) template<> struct ::C4LoggerConfig::Name { static constexpr auto Value = #type; } +#define C4LOGGERCONFIG_NAME_TYPE(type) template<> struct C4LoggerConfig::Name { static constexpr auto Value = #type; } template concept HasName = requires { Name::Value; };