Add the template instantiation declaration

Add the template instantiation **declaration** of `basic_data<void>`
the the template instantiation **definition** is in `format.cc`
This commit is contained in:
denchat 2021-04-09 01:50:08 +07:00 committed by GitHub
parent 0ad4dadcba
commit 28882fa1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4025,6 +4025,10 @@ constexpr detail::udl_arg<wchar_t> operator"" _a(const wchar_t* s, size_t) {
}
} // namespace literals
#endif // FMT_USE_USER_DEFINED_LITERALS
namespace detail {
extern template struct FMT_INSTANTIATION_DEF_API fmt::detail::basic_data<void>;
} // namespace detail
FMT_END_NAMESPACE
#ifdef FMT_HEADER_ONLY