From 5ac44cd1282f12947d25f439b59c5e55944cdb04 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 3 Nov 2025 13:30:55 -1000 Subject: [PATCH] Fix a warning --- include/fmt/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 0d578677..620456b4 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -927,7 +927,7 @@ class locale_ref { template locale_ref(const Locale& loc) : locale_(&loc) { // Check if std::isalpha is found via ADL to reduce the chance of misuse. - isalpha('x', loc); + detail::ignore_unused(isalpha('x', loc)); } inline explicit operator bool() const noexcept { return locale_ != nullptr; }