Skip to content

Commit

Permalink
C4Log: Workaround gcc bug in C4LOGGERCONFIG_NAME_TYPE macro definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Nov 18, 2024
1 parent b977801 commit 9326260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/C4Log.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace C4LoggerConfig
template<typename T>
struct Name;

#define C4LOGGERCONFIG_NAME_TYPE(type) template<> struct ::C4LoggerConfig::Name<type> { static constexpr auto Value = #type; }
#define C4LOGGERCONFIG_NAME_TYPE(type) template<> struct C4LoggerConfig::Name<type> { static constexpr auto Value = #type; }

template<typename T>
concept HasName = requires { Name<T>::Value; };
Expand Down

0 comments on commit 9326260

Please sign in to comment.