libstdc++/4541
Craig Rodrigues
rodrigc@mediaone.net
Sun Oct 14 12:16:00 GMT 2001
The following reply was made to PR libstdc++/4541; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: gcc-patches@gcc.gnu.org
Cc: libstdc++@gcc.gnu.org, gcc-gnats@gcc.gnu.org, brendan@zen.org,
rodrigc@gcc.gnu.org
Subject: Re: libstdc++/4541
Date: Sun, 14 Oct 2001 15:09:12 -0400
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
More information about the Gcc-prs
mailing list