We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e137db6 commit a6e871eCopy full SHA for a6e871e
include/fmt/base.h
@@ -926,7 +926,7 @@ class locale_ref {
926
template <typename Locale, FMT_ENABLE_IF(sizeof(Locale::collate) != 0)>
927
locale_ref(const Locale& loc) : locale_(&loc) {
928
// Check if std::isalpha is found via ADL to reduce the chance of misuse.
929
- detail::ignore_unused(isalpha('x', loc));
+ detail::ignore_unused(sizeof(isalpha('x', loc)));
930
}
931
932
inline explicit operator bool() const noexcept { return locale_ != nullptr; }
0 commit comments