Codechange: Compile fmt internals in a separate translation unit (#13527)
Instead of defining FMT_HEADER_ONLY to include fmt internals in the headers included by all fmt-using translation units.
This commit is contained in:
committed by
GitHub
parent
cf05b6c2f8
commit
23dc393822
@@ -298,9 +298,6 @@ char (&ArraySizeHelper(T (&array)[N]))[N];
|
||||
# define GNU_TARGET(x)
|
||||
#endif /* __GNUC__ || __clang__ */
|
||||
|
||||
/* For the FMT library we only want to use the headers, not link to some library. */
|
||||
#define FMT_HEADER_ONLY
|
||||
|
||||
[[noreturn]] void NOT_REACHED(const std::source_location location = std::source_location::current());
|
||||
[[noreturn]] void AssertFailedError(const char *expression, const std::source_location location = std::source_location::current());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user