mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Cleanup includes
This commit is contained in:
@ -24,7 +24,7 @@
|
|||||||
# include <utility>
|
# include <utility>
|
||||||
# include <vector>
|
# include <vector>
|
||||||
|
|
||||||
// Checking FMT_CPLUSPLUS for warning suppression in MSVC.
|
// CHeck FMT_CPLUSPLUS to suppress a bogus warning in MSVC.
|
||||||
# if FMT_CPLUSPLUS >= 201703L
|
# if FMT_CPLUSPLUS >= 201703L
|
||||||
# if FMT_HAS_INCLUDE(<filesystem>)
|
# if FMT_HAS_INCLUDE(<filesystem>)
|
||||||
# include <filesystem>
|
# include <filesystem>
|
||||||
@ -35,15 +35,13 @@
|
|||||||
# if FMT_HAS_INCLUDE(<optional>)
|
# if FMT_HAS_INCLUDE(<optional>)
|
||||||
# include <optional>
|
# include <optional>
|
||||||
# endif
|
# endif
|
||||||
|
# if FMT_HAS_INCLUDE(<source_location>)
|
||||||
|
# include <source_location>
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
# if FMT_CPLUSPLUS > 202002L && FMT_HAS_INCLUDE(<expected>)
|
||||||
# if FMT_HAS_INCLUDE(<expected>) && FMT_CPLUSPLUS > 202002L
|
|
||||||
# include <expected>
|
# include <expected>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if FMT_CPLUSPLUS > 201703L && FMT_HAS_INCLUDE(<source_location>)
|
|
||||||
# include <source_location>
|
|
||||||
# endif
|
|
||||||
#endif // FMT_MODULE
|
#endif // FMT_MODULE
|
||||||
|
|
||||||
#if FMT_HAS_INCLUDE(<version>)
|
#if FMT_HAS_INCLUDE(<version>)
|
||||||
|
Reference in New Issue
Block a user