From 8ae35257fc33136187a95a2cb9c60e552338b5a8 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Mon, 29 Apr 2019 01:16:47 +0700 Subject: [PATCH] Mirror visibility of explicit instantiation declaration explicit instantiation declaration of internal::basic_data should mirror visibility of FMT_API --- 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 8e101c45..59c4d913 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -727,7 +727,7 @@ template struct FMT_API basic_data { }; #if FMT_USE_EXTERN_TEMPLATES -extern template struct basic_data; +extern template struct FMT_API basic_data; #endif // This is a struct rather than a typedef to avoid shadowing warnings in gcc.