diff --git a/src/format.cc b/src/format.cc index 54f4ad45..3a53f3a1 100644 --- a/src/format.cc +++ b/src/format.cc @@ -57,7 +57,7 @@ vformat_to(buffer&, string_view, // Clang doesn't allow dllexport on template instantiation definitions: // https://reviews.llvm.org/D61118. -template struct detail::basic_data; +template struct FMT_INSTANTIATION_DEF_API detail::basic_data; // Workaround a bug in MSVC2013 that prevents instantiation of format_float. int (*instantiate_format_float)(double, int, detail::float_specs,