Wrap the extern template with #ifndef FMT_EXPORTED
This commit is contained in:
parent
087bfe2b31
commit
78d8e015e9
@ -995,7 +995,9 @@ FMT_INLINE uint16_t bsr2log10(int bsr) {
|
|||||||
return data[bsr];
|
return data[bsr];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef FMT_EXPORTED
|
||||||
FMT_EXTERN template struct FMT_INSTANTIATION_DECL_API basic_data<void>;
|
FMT_EXTERN template struct FMT_INSTANTIATION_DECL_API basic_data<void>;
|
||||||
|
#endif
|
||||||
|
|
||||||
// This is a struct rather than an alias to avoid shadowing warnings in gcc.
|
// This is a struct rather than an alias to avoid shadowing warnings in gcc.
|
||||||
struct data : basic_data<> {};
|
struct data : basic_data<> {};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user