Mirror visibility of explicit instantiation declaration

explicit instantiation declaration of internal::basic_data<void> should mirror visibility of FMT_API
This commit is contained in:
denchat 2019-04-29 01:16:47 +07:00 committed by GitHub
parent 4c721e3a2f
commit 8ae35257fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -727,7 +727,7 @@ template <typename T = void> struct FMT_API basic_data {
}; };
#if FMT_USE_EXTERN_TEMPLATES #if FMT_USE_EXTERN_TEMPLATES
extern template struct basic_data<void>; extern template struct FMT_API basic_data<void>;
#endif #endif
// 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.