From 33fbb3a7eb9b5333ab99a9aaa78c62e5af352ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sch=C3=B6nle?= Date: Tue, 20 Nov 2018 12:41:37 +0100 Subject: [PATCH] Fix remaining linker errors. --- src/format.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/format.cc b/src/format.cc index 7193ffd4..cbf9a91f 100644 --- a/src/format.cc +++ b/src/format.cc @@ -9,7 +9,7 @@ FMT_BEGIN_NAMESPACE template struct internal::basic_data; -template internal::locale_ref::locale_ref(const std::locale &loc); +template FMT_API internal::locale_ref::locale_ref(const std::locale &loc); // Explicit instantiations for char. @@ -17,7 +17,7 @@ template FMT_API char internal::thousands_sep_impl(locale_ref); template FMT_API void internal::basic_buffer::append(const char *, const char *); -template void internal::arg_map::init( +template FMT_API void internal::arg_map::init( const basic_format_args &args); template FMT_API int internal::char_traits::format_float( @@ -29,7 +29,7 @@ template FMT_API int internal::char_traits::format_float( template FMT_API std::string internal::vformat( string_view, basic_format_args); -template format_context::iterator internal::vformat_to( +template FMT_API format_context::iterator internal::vformat_to( internal::buffer &, string_view, basic_format_args); template FMT_API void internal::sprintf_format( @@ -41,10 +41,10 @@ template FMT_API void internal::sprintf_format( template FMT_API wchar_t internal::thousands_sep_impl(locale_ref); -template void internal::basic_buffer::append( +template FMT_API void internal::basic_buffer::append( const wchar_t *, const wchar_t *); -template void internal::arg_map::init( +template FMT_API void internal::arg_map::init( const basic_format_args &); template FMT_API int internal::char_traits::format_float(