From 5f66e07cb0a5e07418caea37d3d699ca14ecdf5b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 28 Sep 2025 19:45:41 -0400 Subject: [PATCH] Suppress an unused argument warning --- include/fmt/chrono.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index ffd98e84..a91c407c 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -1595,6 +1595,7 @@ class get_locale { public: inline get_locale(bool localized, locale_ref loc) : has_locale_(localized) { if (!localized) return; + ignore_unused(loc); ::new (&locale_) std::locale( #if FMT_USE_LOCALE loc.template get()