Update format.cc

This commit is contained in:
Ihor Dutchak 2022-10-12 20:08:46 +03:00 committed by GitHub
parent 1a12fbf80e
commit a7a4de9dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,9 +23,9 @@ template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
// Explicit instantiations for char.
#if FMT_MSC_VERSION
// ostream does it implicitly, so we need make it explicitly
// otherwise we get ODR violation when {fmt} is built as a shared library
// and fmt/os.h is not included by the user
// fmt::ostream does it implicitly, so we need make it explicitly.
// Otherwise we get ODR violation when {fmt} is built as a shared library
// and fmt/os.h is not included by the user.
template class FMT_API buffer<char>;
#endif