Removed sometimes-ambiguous wxString operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,11 +304,15 @@ public:
|
|||||||
{ wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; }
|
{ wxASSERT( !IsEmpty() ); CopyBeforeWrite(); return m_pchData[Len()-1]; }
|
||||||
|
|
||||||
// on alpha-linux this gives overload problems:
|
// on alpha-linux this gives overload problems:
|
||||||
|
// Also on Solaris, so removing for now (JACS)
|
||||||
|
/*
|
||||||
#if ! defined(__ALPHA__)
|
#if ! defined(__ALPHA__)
|
||||||
/// operator version of GetChar
|
/// operator version of GetChar
|
||||||
char operator[](size_t n) const
|
char operator[](size_t n) const
|
||||||
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
|
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
/// operator version of GetChar
|
/// operator version of GetChar
|
||||||
char operator[](int n) const
|
char operator[](int n) const
|
||||||
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
|
{ ASSERT_VALID_INDEX( n ); return m_pchData[n]; }
|
||||||
|
Reference in New Issue
Block a user