Remove xchar.h include from ostream.h
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <ostream>
|
||||
|
||||
#include "format.h"
|
||||
#include "xchar.h"
|
||||
|
||||
FMT_BEGIN_NAMESPACE
|
||||
|
||||
@@ -141,8 +140,10 @@ void print(std::ostream& os, format_string<Args...> fmt, Args&&... args) {
|
||||
|
||||
FMT_MODULE_EXPORT
|
||||
template <typename... Args>
|
||||
void print(std::wostream& os, wformat_string<Args...> fmt, Args&&... args) {
|
||||
vprint(os, fmt, fmt::make_wformat_args(args...));
|
||||
void print(std::wostream& os,
|
||||
basic_format_string<wchar_t, type_identity_t<Args>...> fmt,
|
||||
Args&&... args) {
|
||||
vprint(os, fmt, fmt::make_format_args<buffer_context<wchar_t>>(args...));
|
||||
}
|
||||
|
||||
FMT_END_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user