Description: Use the public formattability trait with fmt 12
 The has_formatter trait is no longer public in fmt 12. Use
 is_formattable to retain the compile-time check.
Author: Aron Xu <aron@debian.org>
Forwarded: no
Last-Update: 2026-10-14

--- a/src/web/config_load.cc
+++ b/src/web/config_load.cc
@@ -115,7 +115,7 @@
 template <typename T>
 void Web::ConfigLoad::setValue(pugi::xml_node& item, const T& value)
 {
-    static_assert(fmt::has_formatter<T, fmt::format_context>::value, "T must be formattable");
+    static_assert(fmt::is_formattable<T>::value, "T must be formattable");
     item.append_attribute(CONFIG_LOAD_VALUE) = fmt::to_string(value).c_str();
 }
 
