Update format.cc
This commit is contained in:
parent
1a12fbf80e
commit
a7a4de9dfa
@ -23,9 +23,9 @@ template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
|
|||||||
// Explicit instantiations for char.
|
// Explicit instantiations for char.
|
||||||
|
|
||||||
#if FMT_MSC_VERSION
|
#if FMT_MSC_VERSION
|
||||||
// ostream does it implicitly, so we need make it explicitly
|
// fmt::ostream does it implicitly, so we need make it explicitly.
|
||||||
// otherwise we get ODR violation when {fmt} is built as a shared library
|
// Otherwise we get ODR violation when {fmt} is built as a shared library
|
||||||
// and fmt/os.h is not included by the user
|
// and fmt/os.h is not included by the user.
|
||||||
template class FMT_API buffer<char>;
|
template class FMT_API buffer<char>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user