mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: adapt to fmt 9.0.0 breaking changes
This commit is contained in:
@ -1,7 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <fmt/ostream.h>
|
||||
#include <json/json.h>
|
||||
|
||||
#if (FMT_VERSION >= 90000)
|
||||
|
||||
template <>
|
||||
struct fmt::formatter<Json::Value> : ostream_formatter {};
|
||||
|
||||
#endif
|
||||
|
||||
namespace waybar::util {
|
||||
|
||||
struct JsonParser {
|
||||
|
Reference in New Issue
Block a user