This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

V3 PATCH: Fix thinko in valarray_meta.h



libstdc++/1926 fixed with this.

-- Gaby

2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

	* include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
	thinko in member initialisation.

Index: include/bits/valarray_meta.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/valarray_meta.h,v
retrieving revision 1.1
diff -p -r1.1 valarray_meta.h
*** valarray_meta.h	2000/10/05 11:27:01	1.1
--- valarray_meta.h	2001/02/11 22:25:14
*************** namespace std {
*** 297,303 ****
          typedef _Tp value_type;
          
          _RefFunClos (const valarray<_Tp>& __v, _Tp __f(const _Tp&))
!                 : _Base (__e, __f) {}
      };
      
      //
--- 297,303 ----
          typedef _Tp value_type;
          
          _RefFunClos (const valarray<_Tp>& __v, _Tp __f(const _Tp&))
!                 : _Base (__v, __f) {}
      };
      
      //


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]