mirror of
https://github.com/Alexays/Waybar.git
synced 2026-02-04 07:45:27 +00:00
Merge pull request #4696 from luoqing510/gtk4
fix: add const qualifier to Glib::ustring formatter to fix compile error
This commit is contained in:
@ -92,7 +92,7 @@ struct formatter<pow_format> {
|
||||
template <>
|
||||
struct formatter<Glib::ustring> : formatter<std::string> {
|
||||
template <typename FormatContext>
|
||||
auto format(const Glib::ustring& value, FormatContext& ctx) {
|
||||
auto format(const Glib::ustring& value, FormatContext& ctx) const {
|
||||
return formatter<std::string>::format(static_cast<std::string>(value), ctx);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user