diff --git a/include/fmt/format.h b/include/fmt/format.h index 3c0f971f..52caad57 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -716,7 +716,7 @@ template struct FMT_EXTERN_TEMPLATE_API basic_data { static const wchar_t WRESET_COLOR[5]; }; -extern template struct basic_data; +FMT_EXTERN template struct basic_data; // This is a struct rather than a typedef to avoid shadowing warnings in gcc. struct data : basic_data<> {};