fix: compilation errors with cpp_std=c++20

This commit is contained in:
Alexander Courtis 2023-02-11 13:26:03 +11:00
parent 5e4a47c0a8
commit 43958ef560

View File

@ -146,7 +146,7 @@ void Layout::handle_name(const char *name) {
label_.hide(); // hide empty labels or labels with empty format label_.hide(); // hide empty labels or labels with empty format
} else { } else {
label_.show(); 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(); ALabel::update();
} }