summaryrefslogtreecommitdiff
path: root/libcxx/include/array
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/array')
-rw-r--r--libcxx/include/array7
1 files changed, 1 insertions, 6 deletions
diff --git a/libcxx/include/array b/libcxx/include/array
index e96c3d813339..867dd6b1bcc6 100644
--- a/libcxx/include/array
+++ b/libcxx/include/array
@@ -438,12 +438,7 @@ operator>=(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y)
template <class _Tp, size_t _Size>
inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
-typename enable_if
-<
- _Size == 0 ||
- __is_swappable<_Tp>::value,
- void
->::type
+__enable_if_t<_Size == 0 || __is_swappable<_Tp>::value, void>
swap(array<_Tp, _Size>& __x, array<_Tp, _Size>& __y)
_NOEXCEPT_(noexcept(__x.swap(__y)))
{