components/stdcxx/patches/070-6891278-valarray.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 08 Sep 2016 12:41:54 -0700
changeset 6865 1cc50ab79b8c
parent 402 94ae4d75524c
permissions -rw-r--r--
22471212 daq fails to build with Studio 12.5 beta 22481259 snort fails to build with Studio 12.5 beta

--- stdcxx-4.2.1/include/valarray	2011-01-13 16:59:43.694747005 -0500
+++ stdcxx-4.2.1/include/valarray	2011-01-18 06:58:17.433752356 -0500
@@ -776,7 +776,7 @@
 operator&& (const valarray<_TypeT> &__lhs, const _TypeT &__rhs)
 {
     return _RW::__rw_binary_function (__lhs,
-                                      bind2nd (equal_to<_TypeT>(), __rhs));
+                                      bind2nd (logical_and<_TypeT>(), __rhs));
 }
 
 template<class _TypeT>