From dee3c9a01aaa29d019baf82b79bb1e9582e3fd08 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 27 Feb 2019 16:09:35 +0000 Subject: [PATCH] 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 --- include/span | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/span b/include/span index 35461bfe6..1cb1a1835 100644 --- a/include/span +++ b/include/span @@ -561,7 +561,7 @@ auto as_bytes(span<_Tp, _Extent> __s) noexcept template _LIBCPP_INLINE_VISIBILITY auto as_writeable_bytes(span<_Tp, _Extent> __s) noexcept --> typename enable_if_t, decltype(__s.__as_writeable_bytes())> +-> enable_if_t, decltype(__s.__as_writeable_bytes())> { return __s.__as_writeable_bytes(); } template