From c16471b6e8b08bd7d02c4c4988a06f46b83634e1 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Fri, 25 Jul 2003 13:56:29 +0000 Subject: [PATCH] Fixed operator[] recursion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/string.h b/include/wx/string.h index cddfe30b9a..0d8bcc184c 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -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 -- 2.45.2