From c66f9a44dba4653415764721e5a1a1b76a33c8fb Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Fri, 7 Apr 2023 01:57:01 +0800 Subject: [PATCH] Avoid including `` in `` --- stl/inc/limits | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stl/inc/limits b/stl/inc/limits index 45a3d0e4ab1..92b3cb9c75c 100644 --- a/stl/inc/limits +++ b/stl/inc/limits @@ -10,7 +10,6 @@ #if _STL_COMPILER_PREPROCESSOR #include #include -#include #include #include @@ -459,11 +458,11 @@ template <> class numeric_limits : public _Num_int_base { public: _NODISCARD static constexpr wchar_t(min)() noexcept { - return WCHAR_MIN; + return 0; } _NODISCARD static constexpr wchar_t(max)() noexcept { - return WCHAR_MAX; + return 0xffff; } _NODISCARD static constexpr wchar_t lowest() noexcept {