wchar.h -> xchar.h because it handles other code unit types too

This commit is contained in:
Victor Zverovich
2021-05-29 09:37:17 -07:00
parent 0901176fe4
commit ff37e41625
7 changed files with 14 additions and 17 deletions

View File

@@ -2889,8 +2889,8 @@ inline auto formatted_size(const S& fmt, Args&&... args) -> size_t {
FMT_MODULE_EXPORT_END
FMT_END_NAMESPACE
#ifdef FMT_DEPRECATED_INCLUDE_WCHAR
# include "wchar.h"
#ifdef FMT_DEPRECATED_INCLUDE_XCHAR
# include "xchar.h"
#endif
#ifdef FMT_HEADER_ONLY

View File

@@ -1,2 +1,2 @@
#include "wchar.h"
#warning fmt/locale.h is deprecated, include fmt/format.h or fmt/wchar.h instead
#include "xchar.h"
#warning fmt/locale.h is deprecated, include fmt/format.h or fmt/xchar.h instead

View File

@@ -1,4 +1,4 @@
// Formatting library for C++ - optional wchar_t support
// Formatting library for C++ - optional wchar_t and exotic character support
//
// Copyright (c) 2012 - present, Victor Zverovich
// All rights reserved.