X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/225526039bc3d31b5bc897b275fd3270d847977b..1144d24d25ebf729407db27594dd51778f77cec4:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index 58b708df2e..474f23d3b6 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -303,8 +303,9 @@ public: char& Last() { wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; } + // on alpha-linux this gives overload problems: +#if ! defined(__ALPHA__) /// operator version of GetChar -#if 0 char operator[](size_t n) const { ASSERT_VALID_INDEX( n ); return m_pchData[n]; } #endif