D61118 : mark dllexport on extern template only
D61118 : make dllexport on extern template, not the instantiation definition in format.cc [MinGW] Fix dllexport of explicit template instantiation https://reviews.llvm.org/D61118
This commit is contained in:
parent
c91cb64e27
commit
66f6f54b5e
@ -995,9 +995,7 @@ FMT_INLINE uint16_t bsr2log10(int bsr) {
|
|||||||
return data[bsr];
|
return data[bsr];
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef FMT_EXPORTED
|
FMT_EXTERN template struct FMT_INSTANTIATION_DEF_API basic_data<void>;
|
||||||
FMT_EXTERN template struct 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