X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7be07660b4dec326ec99f84edac9b862ac34d224..1144d24d25ebf729407db27594dd51778f77cec4:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index aaf3d9f553..474f23d3b6 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -303,9 +303,12 @@ 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 char operator[](size_t n) const { ASSERT_VALID_INDEX( n ); return m_pchData[n]; } +#endif /// operator version of GetChar char operator[](int n) const { ASSERT_VALID_INDEX( n ); return m_pchData[n]; }