G M: Make valarray a little more forgiving to compilers not quite so gifted. This has no impact on clang.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@190731 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2013-09-13 23:27:42 +00:00
parent 6ecf7f2d54
commit d885143d5c

View File

@ -2628,7 +2628,7 @@ public:
};
template<class _ValExpr>
__val_expr<_ValExpr>::operator valarray<result_type>() const
__val_expr<_ValExpr>::operator valarray<__val_expr::result_type>() const
{
valarray<result_type> __r;
size_t __n = __expr_.size();