added explicit conversion of wxCStrData to const void * to resolve ambiguity between const char * and const unsigned char * conversion when passing s.c_str() to e.g. file output functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
98c4eb3910
commit
17709275f9
@ -798,6 +798,7 @@ public:
|
||||
const char* AsChar() const;
|
||||
const unsigned char* AsUnsignedChar() const
|
||||
{ return (const unsigned char *) AsChar(); }
|
||||
operator const void*() const { return AsChar(); }
|
||||
operator const char*() const { return AsChar(); }
|
||||
operator const unsigned char*() const { return AsUnsignedChar(); }
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user