fix incorrect placement of _LIBCPP_ALWAYS_INLINE in valarray

llvm-svn: 345289
This commit is contained in:
Eric Fiselier 2018-10-25 17:43:26 +00:00
parent f87473fe1c
commit 8622e866a6
1 changed files with 2 additions and 1 deletions

View File

@ -1054,6 +1054,7 @@ private:
const _Up*
end(const valarray<_Up>& __v);
_LIBCPP_INLINE_VISIBILITY
void __clear(size_t __capacity);
valarray& __assign_range(const value_type* __f, const value_type* __l);
};
@ -3728,7 +3729,7 @@ valarray<_Tp>::apply(value_type __f(const value_type&)) const
}
template <class _Tp>
inline _LIBCPP_INLINE_VISIBILITY
inline
void valarray<_Tp>::__clear(size_t __capacity)
{
if (__begin_ != nullptr)