chrono.h: Remove warning suppression

Not needed since fmt 9.x
This commit is contained in:
Gabi Melman 2022-11-01 14:46:39 +02:00 committed by GitHub
parent bd5a81df70
commit 7aa00607ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,14 +15,7 @@
# define FMT_HEADER_ONLY
# endif
# endif
# if __cplusplus >= 202002L && defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated" // Workaround for Clang C++20; remove once fmt >= 9.x
# endif
# include <spdlog/fmt/bundled/chrono.h>
# if __cplusplus >= 202002L && defined(__clang__)
# pragma clang diagnostic pop
# endif
# else
# include <fmt/chrono.h>
# endif