Move FMT_INSTANTIATION_DEF_API to the declaration
Move FMT_INSTANTIATION_DEF_API to the declaration in format.h [MinGW] Fix dllexport of explicit template instantiation https://reviews.llvm.org/D61118
This commit is contained in:
parent
66f6f54b5e
commit
9687bce2f1
@ -55,7 +55,7 @@ vformat_to(buffer<char>&, string_view,
|
|||||||
type_identity_t<char>>>);
|
type_identity_t<char>>>);
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
template struct FMT_INSTANTIATION_DEF_API detail::basic_data<void>;
|
template struct detail::basic_data<void>;
|
||||||
|
|
||||||
// Workaround a bug in MSVC2013 that prevents instantiation of format_float.
|
// Workaround a bug in MSVC2013 that prevents instantiation of format_float.
|
||||||
int (*instantiate_format_float)(double, int, detail::float_specs,
|
int (*instantiate_format_float)(double, int, detail::float_specs,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user