Merge pull request #439 from jbeich/fmt

Unbreak with fmtlib 6.0.0
pull/443/head
Alex 2019-08-29 11:29:54 +02:00 committed by GitHub
commit 02e43a38d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -1,8 +1,12 @@
#pragma once
#include <fmt/format.h>
#if FMT_VERSION < 60000
#include <fmt/time.h>
#else
#include <fmt/chrono.h>
#endif
#include "ALabel.hpp"
#include "fmt/time.h"
#include "util/sleeper_thread.hpp"
namespace waybar::modules {

View File

@ -1,7 +1,7 @@
#include "bar.hpp"
#include <spdlog/spdlog.h>
#include "client.hpp"
#include "factory.hpp"
#include <spdlog/spdlog.h>
waybar::Bar::Bar(struct waybar_output* w_output, const Json::Value& w_config)
: output(w_output),

View File

@ -1,6 +1,6 @@
#include "modules/sni/host.hpp"
#include <spdlog/spdlog.h>
#include <fmt/ostream.h>
#include <spdlog/spdlog.h>
namespace waybar::modules::SNI {