From 2c1eafc884761ad58142fae5402bc2de2c3e7f6a Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 30 Nov 2025 11:16:28 +0200 Subject: [PATCH] Backport warning fix from fmt head --- include/spdlog/fmt/bundled/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/fmt/bundled/base.h b/include/spdlog/fmt/bundled/base.h index 0d578677..620456b4 100644 --- a/include/spdlog/fmt/bundled/base.h +++ b/include/spdlog/fmt/bundled/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; }