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
01bb881ff2
commit
3944deb5da
@ -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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user