From 77eeb71830cf38f3b15a6ec465e9d2801f02f0ad Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 10 Apr 2023 09:03:25 -0700 Subject: [PATCH] Remove unused headers --- include/fmt/format-inl.h | 4 ---- src/fmt.cc | 8 -------- 2 files changed, 12 deletions(-) diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h index ba1ab462..fc8fbb3f 100644 --- a/include/fmt/format-inl.h +++ b/include/fmt/format-inl.h @@ -9,13 +9,9 @@ #define FMT_FORMAT_INL_H_ #include -#include #include // errno #include #include -#include -#include // std::memmove -#include #include #ifndef FMT_STATIC_THOUSANDS_SEPARATOR diff --git a/src/fmt.cc b/src/fmt.cc index 2b62c263..c26f0f74 100644 --- a/src/fmt.cc +++ b/src/fmt.cc @@ -4,9 +4,6 @@ module; # error module not supported #endif -#if !defined(_CRT_SECURE_NO_WARNINGS) && defined(_MSC_VER) -# define _CRT_SECURE_NO_WARNINGS -#endif #if !defined(WIN32_LEAN_AND_MEAN) && defined(_WIN32) # define WIN32_LEAN_AND_MEAN #endif @@ -14,20 +11,16 @@ module; // Put all implementation-provided headers into the global module fragment // to prevent attachment to this module. #include -#include #include #include #include -#include #include -#include #include #include #include #include #include #include -#include #include #include #include @@ -35,7 +28,6 @@ module; #include #include #include -#include #include #include #include