mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-06 16:57:03 +08:00
Don't include std::locale::collate value in the symbol
This commit is contained in:
parent
9721d974fc
commit
9395ef5fcb
@ -923,7 +923,7 @@ class locale_ref {
|
|||||||
public:
|
public:
|
||||||
constexpr locale_ref() : locale_(nullptr) {}
|
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) {
|
locale_ref(const Locale& loc) : locale_(&loc) {
|
||||||
// Check if std::isalpha is found via ADL to reduce the chance of misuse.
|
// Check if std::isalpha is found via ADL to reduce the chance of misuse.
|
||||||
isalpha('x', loc);
|
isalpha('x', loc);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user