Skip to content

Commit 9395ef5

Browse files
committed
Don't include std::locale::collate value in the symbol
1 parent 9721d97 commit 9395ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fmt/base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ class locale_ref {
923923
public:
924924
constexpr locale_ref() : locale_(nullptr) {}
925925

926-
template <typename Locale, int = Locale::collate>
926+
template <typename Locale, int = (Locale::collate, 0)>
927927
locale_ref(const Locale& loc) : locale_(&loc) {
928928
// Check if std::isalpha is found via ADL to reduce the chance of misuse.
929929
isalpha('x', loc);

0 commit comments

Comments
 (0)