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:
parent
4c721e3a2f
commit
8ae35257fc
@ -727,7 +727,7 @@ template <typename T = void> struct FMT_API basic_data {
|
||||
};
|
||||
|
||||
#if FMT_USE_EXTERN_TEMPLATES
|
||||
extern template struct basic_data<void>;
|
||||
extern template struct FMT_API basic_data<void>;
|
||||
#endif
|
||||
|
||||
// This is a struct rather than a typedef to avoid shadowing warnings in gcc.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user