From 7d0dd76603e46e57b4745f8d691c22294838e736 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Thu, 2 May 2019 14:11:06 +0700 Subject: [PATCH] Replace `extern` on basic_data with the `FMT_EXTERN` condition in core.h --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<> {};