mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-13 03:12:46 +00:00
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:
parent
5d58625e05
commit
5c814099c7
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user