fix: drop conditionals for ancient fmt versions

This commit is contained in:
Aleksei Bavshin 2022-07-12 22:20:49 -07:00
parent 24a8332b62
commit 3117aefdf3
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
3 changed files with 3 additions and 17 deletions

View File

@ -1,11 +1,6 @@
#pragma once #pragma once
#include <fmt/format.h>
#if FMT_VERSION < 60000
#include <fmt/time.h>
#else
#include <fmt/chrono.h> #include <fmt/chrono.h>
#endif
#include <gtkmm/label.h> #include <gtkmm/label.h>
#include "AModule.hpp" #include "AModule.hpp"

View File

@ -1,11 +1,7 @@
#pragma once #pragma once
#include <fmt/format.h>
#if FMT_VERSION < 60000
#include <fmt/time.h>
#else
#include <fmt/chrono.h> #include <fmt/chrono.h>
#endif
#include "ALabel.hpp" #include "ALabel.hpp"
#include "util/sleeper_thread.hpp" #include "util/sleeper_thread.hpp"

View File

@ -1,15 +1,10 @@
#include "modules/clock.hpp" #include "modules/clock.hpp"
#include <fmt/chrono.h>
#include <spdlog/spdlog.h> #include <spdlog/spdlog.h>
#include <iomanip>
#if FMT_VERSION < 60000
#include <fmt/time.h>
#else
#include <fmt/chrono.h>
#endif
#include <ctime> #include <ctime>
#include <iomanip>
#include <sstream> #include <sstream>
#include <type_traits> #include <type_traits>