aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/bitset
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2021-09-08 09:14:43 -0400
committerLouis Dionne <ldionne.2@gmail.com>2021-09-08 15:20:58 -0400
commitb4e88d4db12e9460e581de453c8603eb280f145b (patch)
tree55db3316febdf12ce91cd5b7959d3d21a8996fd0 /libcxx/include/bitset
parentdea6f71af0fdd7c54cacd43f5fb15e293924fa20 (diff)
downloadllvm-b4e88d4db12e9460e581de453c8603eb280f145b.zip
llvm-b4e88d4db12e9460e581de453c8603eb280f145b.tar.gz
llvm-b4e88d4db12e9460e581de453c8603eb280f145b.tar.bz2
[libc++][NFC] Rename _EnableIf to __enable_if_t for consistency
In other places in the code, we use lowercase spelling for things that are not available in prior standards. Differential Revision: https://reviews.llvm.org/D109435
Diffstat (limited to 'libcxx/include/bitset')
-rw-r--r--libcxx/include/bitset2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/bitset b/libcxx/include/bitset
index 4b8827e..f9549e8 100644
--- a/libcxx/include/bitset
+++ b/libcxx/include/bitset
@@ -679,7 +679,7 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bitset() _NOEXCEPT {}
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
bitset(unsigned long long __v) _NOEXCEPT : base(__v) {}
- template<class _CharT, class = _EnableIf<_IsCharLikeType<_CharT>::value> >
+ template<class _CharT, class = __enable_if_t<_IsCharLikeType<_CharT>::value> >
explicit bitset(const _CharT* __str,
typename basic_string<_CharT>::size_type __n = basic_string<_CharT>::npos,
_CharT __zero = _CharT('0'), _CharT __one = _CharT('1'));