Replace extern on basic_data<void> with the FMT_EXTERN condition in core.h

This commit is contained in:
denchat 2019-05-02 14:11:06 +07:00 committed by GitHub
parent b4a4dcd788
commit 7d0dd76603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -716,7 +716,7 @@ template <typename T = void> struct FMT_EXTERN_TEMPLATE_API basic_data {
static const wchar_t WRESET_COLOR[5]; static const wchar_t WRESET_COLOR[5];
}; };
extern template struct basic_data<void>; FMT_EXTERN template struct basic_data<void>;
// This is a struct rather than a typedef to avoid shadowing warnings in gcc. // This is a struct rather than a typedef to avoid shadowing warnings in gcc.
struct data : basic_data<> {}; struct data : basic_data<> {};