From 866b27950aaf2c38f4ecfc8a0f18945fff3b8542 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Mon, 10 May 2021 15:32:38 -0400 Subject: [PATCH] [libc++] s/_VSTD::is_unsigned/is_unsigned/ in . NFCI. --- libcxx/include/random | 2 +- libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/include/random b/libcxx/include/random index f07c999..eb2d37d 100644 --- a/libcxx/include/random +++ b/libcxx/include/random @@ -1919,7 +1919,7 @@ private: static_assert(__m == 0 || __a < __m, "linear_congruential_engine invalid parameters"); static_assert(__m == 0 || __c < __m, "linear_congruential_engine invalid parameters"); - static_assert(_VSTD::is_unsigned<_UIntType>::value, "_UIntType must be unsigned type"); + static_assert(is_unsigned<_UIntType>::value, "_UIntType must be unsigned type"); public: static _LIBCPP_CONSTEXPR const result_type _Min = __c == 0u ? 1u: 0u; static _LIBCPP_CONSTEXPR const result_type _Max = __m - 1u; diff --git a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp index 86e6273..5c6e7f7 100644 --- a/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp +++ b/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/params.fail.cpp @@ -24,7 +24,7 @@ int main(int, char**) // expected-error@random:* {{static_assert failed due to requirement '1ULL == 0 || 1ULL < 1ULL' "linear_congruential_engine invalid parameters"}} std::linear_congruential_engine e3; std::linear_congruential_engine e4; - // expected-error-re@random:* {{static_assert failed due to requirement 'std:{{.*}}:is_unsigned::value' "_UIntType must be unsigned type"}} + // expected-error@random:* {{static_assert failed due to requirement 'is_unsigned::value' "_UIntType must be unsigned type"}} std::linear_congruential_engine e5; return 0; -- 2.7.4