Fix compilation with locales disabled (#1011)

This commit is contained in:
Victor Zverovich
2019-01-19 07:16:05 -08:00
parent dad1eec842
commit fdd8e333c1
3 changed files with 9 additions and 0 deletions

View File

@@ -9,8 +9,11 @@
FMT_BEGIN_NAMESPACE
template struct internal::basic_data<void>;
#ifndef FMT_STATIC_THOUSANDS_SEPARATOR
template FMT_API internal::locale_ref::locale_ref(const std::locale& loc);
template FMT_API std::locale internal::locale_ref::get<std::locale>() const;
#endif
// Explicit instantiations for char.