libstdc++/3740: typo in ostringstream constructor
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Fri Aug 24 11:31:00 GMT 2001
Synopsis: typo in ostringstream constructor
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Fri Aug 24 11:31:27 2001
Responsible-Changed-Why:
Responsible.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Fri Aug 24 11:31:27 2001
State-Changed-Why:
thanks!
Fixed in mainline with:
2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
libstdc++/3740
* include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
Index: include/bits/std_sstream.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/std_sstream.h,v
retrieving revision 1.8
diff -c -p -r1.8 std_sstream.h
*** std_sstream.h 2001/07/13 20:50:02 1.8
--- std_sstream.h 2001/08/24 18:28:45
*************** namespace std
*** 277,283 ****
{ this->init(&_M_stringbuf); }
explicit
! basic_ostringstream(const __string_type __str,
ios_base::openmode __mode = ios_base::out)
: __ostream_type(NULL), _M_stringbuf(__str, __mode | ios_base::out)
{ this->init(&_M_stringbuf); }
--- 277,283 ----
{ this->init(&_M_stringbuf); }
explicit
! basic_ostringstream(const __string_type __str&,
ios_base::openmode __mode = ios_base::out)
: __ostream_type(NULL), _M_stringbuf(__str, __mode | ios_base::out)
{ this->init(&_M_stringbuf); }
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3740&database=gcc
More information about the Gcc-prs
mailing list