mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-02 07:09:44 +01:00
Fix clang warning about ignoring __declspec(dllexport) on basic_data<void> template instantitation definition (#2220)
This commit is contained in:
@@ -55,7 +55,9 @@ vformat_to(buffer<char>&, string_view,
|
||||
type_identity_t<char>>>);
|
||||
} // namespace detail
|
||||
|
||||
template struct FMT_INSTANTIATION_DEF_API detail::basic_data<void>;
|
||||
// Clang doesn't allow dllexport on template instantiation definitions (LLVM
|
||||
// D61118).
|
||||
template struct detail::basic_data<void>;
|
||||
|
||||
// Workaround a bug in MSVC2013 that prevents instantiation of format_float.
|
||||
int (*instantiate_format_float)(double, int, detail::float_specs,
|
||||
|
||||
Reference in New Issue
Block a user