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:
@@ -771,11 +771,11 @@ public:
|
|||||||
#ifndef wxSIZE_T_IS_UINT
|
#ifndef wxSIZE_T_IS_UINT
|
||||||
// operator version of GetChar
|
// operator version of GetChar
|
||||||
wxChar operator[](unsigned int n) const
|
wxChar operator[](unsigned int n) const
|
||||||
{ return operator[](n); }
|
{ return wxStringBase::operator[](n); }
|
||||||
|
|
||||||
// operator version of GetWriteableChar
|
// operator version of GetWriteableChar
|
||||||
wxChar& operator[](unsigned int n)
|
wxChar& operator[](unsigned int n)
|
||||||
{ return operator[](n); }
|
{ return wxStringBase::operator[](n); }
|
||||||
#endif // size_t != unsigned int
|
#endif // size_t != unsigned int
|
||||||
|
|
||||||
// implicit conversion to C string
|
// implicit conversion to C string
|
||||||
|
Reference in New Issue
Block a user