forked from OSchip/llvm-project
G M: Make valarray a little more forgiving to compilers not quite so gifted. This has no impact on clang.
llvm-svn: 190731
This commit is contained in:
parent
67d9709341
commit
f35fc7ad74
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue