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:
Marshall Clow
2019-02-27 16:09:35 +00:00
parent ae4afd034b
commit dee3c9a01a

View File

@@ -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>