Fixed operator[] recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bdc408c4c6
commit
c16471b6e8
@ -771,11 +771,11 @@ public:
|
||||
#ifndef wxSIZE_T_IS_UINT
|
||||
// operator version of GetChar
|
||||
wxChar operator[](unsigned int n) const
|
||||
{ return operator[](n); }
|
||||
{ return wxStringBase::operator[](n); }
|
||||
|
||||
// operator version of GetWriteableChar
|
||||
wxChar& operator[](unsigned int n)
|
||||
{ return operator[](n); }
|
||||
{ return wxStringBase::operator[](n); }
|
||||
#endif // size_t != unsigned int
|
||||
|
||||
// implicit conversion to C string
|
||||
|
Loading…
Reference in New Issue
Block a user