Commit 57945813 by Danny Smith Committed by Danny Smith

* include/c_std/std_cwchar.h (wcsstr): Correct signature.

From-SVN: r84945
parent fa0aee89
2004-07-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/c_std/std_cwchar.h (wcsstr): Correct signature.
2004-07-19 Benjamin Kosnik <bkoz@redhat.com> 2004-07-19 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15488 PR libstdc++/15488
......
...@@ -223,7 +223,7 @@ namespace std ...@@ -223,7 +223,7 @@ namespace std
using ::wcsstr; using ::wcsstr;
inline wchar_t* inline wchar_t*
wcsstr(wchar_t* __s1, wchar_t* __s2) wcsstr(wchar_t* __s1, const wchar_t* __s2)
{ return wcsstr(const_cast<const wchar_t*>(__s1), __s2); } { return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
using ::wmemchr; using ::wmemchr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment