From e2c1a2c01ef28f819321f470f78ad3ec82f8bc18 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Mon, 12 Apr 2021 22:16:24 +0700 Subject: [PATCH] Rename FMT_INSTANTIATION_DECL_API Rename FMT_INSTANTIATION_DEF_API to FMT_INSTANTIATION_DECL_API [MinGW] Fix dllexport of explicit template instantiation https://reviews.llvm.org/D61118 --- 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 5124e1ee..32b42dd5 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -995,7 +995,7 @@ FMT_INLINE uint16_t bsr2log10(int bsr) { return data[bsr]; } -FMT_EXTERN template struct FMT_INSTANTIATION_DEF_API basic_data; +FMT_EXTERN template struct FMT_INSTANTIATION_DECL_API basic_data; // This is a struct rather than an alias to avoid shadowing warnings in gcc. struct data : basic_data<> {};