[libc++] Remove empty namespace std in type_traits. NFCI.
authorJoe Loser <joeloser93@gmail.com>
Sun, 10 Oct 2021 18:35:00 +0000 (14:35 -0400)
committerJoe Loser <joeloser93@gmail.com>
Sun, 10 Oct 2021 18:35:05 +0000 (14:35 -0400)
There is an empty `namespace std` in `type_traits` which was originally
used when `std::byte` was added in
c97d8aa86650ed795bf75a7dd735ecfaef3b8f55. At some point, the bitwise operators
on `std::byte` got relocated but this empty namespace was left around.
Remove it.

Reviewed By: Quuxplusone, Mordante, #libc

Differential Revision: https://reviews.llvm.org/D111512

libcxx/include/type_traits

index 7ad48d8..a8f5f22 100644 (file)
@@ -4175,13 +4175,4 @@ using __maybe_const = conditional_t<_Const, const _Tp, _Tp>;
 
 _LIBCPP_END_NAMESPACE_STD
 
-#if _LIBCPP_STD_VER > 14
-// std::byte
-namespace std  // purposefully not versioned
-{
-
-
-}
-#endif
-
 #endif // _LIBCPP_TYPE_TRAITS