FreeBSD Bugzilla – Attachment 9025 Details for
Bug 18672
std::basic_string<unsigned char>::c_str() doesn't compile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 415 bytes, created by
ganssauge
on 2000-05-19 08:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
ganssauge
Created:
2000-05-19 08:10:01 UTC
Size:
415 bytes
patch
obsolete
>--- /usr/include/g++/std/bastring.h Mon Apr 24 22:51:45 2000 >+++ bastring.h Mon Apr 24 23:01:37 2000 >@@ -335,7 +335,7 @@ > > public: > const charT* c_str () const >- { if (length () == 0) return ""; terminate (); return data (); } >+ { if (length () == 0) return (charT const *) ""; terminate (); return data (); } > void resize (size_type n, charT c); > void resize (size_type n) > { resize (n, eos ()); }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18672
: 9025