mirror of
https://github.com/fmtlib/fmt.git
synced 2026-01-18 21:41:20 +01:00
Don't include std::locale::collate value in the symbol
This commit is contained in:
@@ -923,7 +923,7 @@ class locale_ref {
|
||||
public:
|
||||
constexpr locale_ref() : locale_(nullptr) {}
|
||||
|
||||
template <typename Locale, int = Locale::collate>
|
||||
template <typename Locale, int = (Locale::collate, 0)>
|
||||
locale_ref(const Locale& loc) : locale_(&loc) {
|
||||
// Check if std::isalpha is found via ADL to reduce the chance of misuse.
|
||||
isalpha('x', loc);
|
||||
|
||||
Reference in New Issue
Block a user