Fix missing includes in fmt.cc (#3994)

This causes duplicated std definitions in the fmt module
This commit is contained in:
LoveSy
2024-06-09 04:50:29 +08:00
committed by GitHub
parent a3d95971be
commit 0f6e716548
4 changed files with 14 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ module;
# include <algorithm>
# include <chrono>
# include <cmath>
# include <complex>
# include <cstddef>
# include <cstdint>
# include <cstdio>
@@ -13,6 +14,7 @@ module;
# include <cstring>
# include <ctime>
# include <exception>
# include <expected>
# include <filesystem>
# include <fstream>
# include <functional>
@@ -22,6 +24,7 @@ module;
# include <memory>
# include <optional>
# include <ostream>
# include <source_location>
# include <stdexcept>
# include <string>
# include <string_view>
@@ -104,7 +107,9 @@ extern "C++" {
#if FMT_OS
# include "fmt/os.h"
#endif
#include "fmt/ostream.h"
#include "fmt/printf.h"
#include "fmt/ranges.h"
#include "fmt/std.h"
#include "fmt/xchar.h"