mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
I changed a 'enable_if<...>::type to' 'enable_if_t<...>' but forgot to remove the preceding 'typename'
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@354995 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -561,7 +561,7 @@ auto as_bytes(span<_Tp, _Extent> __s) noexcept
|
||||
template <class _Tp, size_t _Extent>
|
||||
_LIBCPP_INLINE_VISIBILITY
|
||||
auto as_writeable_bytes(span<_Tp, _Extent> __s) noexcept
|
||||
-> typename enable_if_t<!is_const_v<_Tp>, decltype(__s.__as_writeable_bytes())>
|
||||
-> enable_if_t<!is_const_v<_Tp>, decltype(__s.__as_writeable_bytes())>
|
||||
{ return __s.__as_writeable_bytes(); }
|
||||
|
||||
template <class _Tp, size_t _Extent>
|
||||
|
Reference in New Issue
Block a user