From 01bb881ff2460e316cfb84a1a91da1dba78b6dc4 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Mon, 29 Apr 2019 00:55:43 +0700 Subject: [PATCH] Update format.cc As the explicit instantiation *declaration* of `internal::basic_data` in format.h, this explicit instantiation *definition* should mirror FMT_API also. --- src/format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.cc b/src/format.cc index 6b268bbe..b60b7e4f 100644 --- a/src/format.cc +++ b/src/format.cc @@ -8,7 +8,7 @@ #include "fmt/format-inl.h" FMT_BEGIN_NAMESPACE -template struct internal::basic_data; +template struct FMT_API internal::basic_data; // Workaround a bug in MSVC2013 that prevents instantiation of grisu_format. bool (*instantiate_grisu_format)(double, internal::buffer&, int, unsigned,