Suppress a bogus MSVC warning

This commit is contained in:
Victor Zverovich 2024-09-04 17:20:30 -07:00
parent f1e3016c13
commit a2c290bc34

View File

@ -1,5 +1,11 @@
module; module;
#ifdef _MSVC_LANG
# define FMT_CPLUSPLUS _MSVC_LANG
#else
# define FMT_CPLUSPLUS __cplusplus
#endif
// Put all implementation-provided headers into the global module fragment // Put all implementation-provided headers into the global module fragment
// to prevent attachment to this module. // to prevent attachment to this module.
#ifndef FMT_IMPORT_STD #ifndef FMT_IMPORT_STD
@ -15,7 +21,9 @@ module;
# include <cstring> # include <cstring>
# include <ctime> # include <ctime>
# include <exception> # include <exception>
# if FMT_CPLUSPLUS > 202002L
# include <expected> # include <expected>
# endif
# include <filesystem> # include <filesystem>
# include <fstream> # include <fstream>
# include <functional> # include <functional>