From 43958ef5606b4375a7a751d16d370badcec27916 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Sat, 11 Feb 2023 13:26:03 +1100 Subject: [PATCH] fix: compilation errors with cpp_std=c++20 --- src/modules/river/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/river/layout.cpp b/src/modules/river/layout.cpp index 945efa6e..e938400f 100644 --- a/src/modules/river/layout.cpp +++ b/src/modules/river/layout.cpp @@ -146,7 +146,7 @@ void Layout::handle_name(const char *name) { label_.hide(); // hide empty labels or labels with empty format } else { label_.show(); - label_.set_markup(fmt::format(format_, Glib::Markup::escape_text(name).raw())); + label_.set_markup(fmt::format(fmt::runtime(format_), Glib::Markup::escape_text(name).raw())); } ALabel::update(); }