From 7fb3a5500270877d93b61b11b2a17b9b8f6a506b Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Sat, 20 May 2023 20:02:24 -0700 Subject: [PATCH] Fix compatiblity with fmt 10.0 Fix #797 --- src/modules/dbus/dbusmodule.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/dbus/dbusmodule.cpp b/src/modules/dbus/dbusmodule.cpp index a7196676..6bebee30 100644 --- a/src/modules/dbus/dbusmodule.cpp +++ b/src/modules/dbus/dbusmodule.cpp @@ -570,8 +570,9 @@ class Controller1 : public ObjectVTable { ss << fmt::format("{:02x}", static_cast(v)); } ss << "] program:" << ic->program() - << " frontend:" << ic->frontend() - << " cap:" << fmt::format("{:x}", ic->capabilityFlags()) + << " frontend:" << ic->frontend() << " cap:" + << fmt::format("{:x}", + static_cast(ic->capabilityFlags())) << " focus:" << ic->hasFocus() << std::endl; return true; });