fix: adapt to fmt 9.0.0 breaking changes

This commit is contained in:
Aleksei Bavshin
2022-07-11 22:52:33 -07:00
parent 84e7689521
commit 24a8332b62
5 changed files with 9 additions and 4 deletions

View File

@ -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 {