This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++/4541
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: libstdc++/4541
- From: Craig Rodrigues <rodrigc at mediaone dot net>
- Date: Sun, 14 Oct 2001 15:09:12 -0400
- Cc: libstdc++ at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, brendan at zen dot org, rodrigc at gcc dot gnu dot org
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4541&database=gcc
Hi,
Following patch addresses PR 4541 on mainline.
2001-10-10 Brendan Kehoe <brendan@zen.org>
* bits/stl_raw_storage_iter.h (operator=): Fix to call _Construct
instead of construct.
Index: include/bits/stl_raw_storage_iter.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/stl_raw_storage_iter.h,v
retrieving revision 1.6
diff -u -p -r1.6 stl_raw_storage_iter.h
--- stl_raw_storage_iter.h 2001/06/27 17:09:52 1.6
+++ stl_raw_storage_iter.h 2001/10/10 11:44:32
@@ -79,7 +79,7 @@ namespace std
raw_storage_iterator&
operator=(const _Tp& __element)
{
- construct(&*_M_iter, __element);
+ _Construct(&*_M_iter, __element);
return *this;
}
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net