Make the forward declaration for array swap have the same inline/visibility attributes as the definition. Thanks to Steven Wu for the catch.

llvm-svn: 230330
This commit is contained in:
Marshall Clow 2015-02-24 12:46:39 +00:00
parent ff9d1980a7
commit f6d58a2a1f

View File

@ -204,6 +204,7 @@ operator>=(const _Tp& __x, const _Tp& __y)
// forward
template<class _Tp, size_t _Np>
inline _LIBCPP_INLINE_VISIBILITY
void swap(_Tp (&__a)[_Np], _Tp (&__b)[_Np]) _NOEXCEPT_(__is_nothrow_swappable<_Tp>::value);
template <class _ForwardIterator1, class _ForwardIterator2>