I changed a 'enable_if<...>::type to' 'enable_if_t<...>' but forgot to remove the preceding 'typename'

llvm-svn: 354995
This commit is contained in:
Marshall Clow 2019-02-27 16:09:35 +00:00
parent 5d58625e05
commit 5c814099c7

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>